Click or drag to resize

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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
[ObsoleteAttribute("AutoIndexId has been deprecated since server version 3.2.")]
public Nullable<bool> AutoIndexId { get; set; }

Property Value

Type: NullableBoolean
A value indicating whether an index on _id should be created automatically.
See Also