CreateCollectionOperationAutoIndexId Property |
Note: This API is now obsolete.
Gets or sets a value indicating whether an index on _id should be created automatically.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax [ObsoleteAttribute("AutoIndexId has been deprecated since server version 3.2.")]
public Nullable<bool> AutoIndexId { get; set; }
<ObsoleteAttribute("AutoIndexId has been deprecated since server version 3.2.")>
Public Property AutoIndexId As Nullable(Of Boolean)
Get
Set
[<ObsoleteAttribute("AutoIndexId has been deprecated since server version 3.2.")>]
member AutoIndexId : Nullable<bool> with get, set
Property Value
Type:
NullableBoolean
A value indicating whether an index on _id should be created automatically.
See Also