Click or drag to resize

CreateCollectionOptionsAutoIndexId Property

Note: This API is now obsolete.

Gets or sets a value indicating whether to automatically create an index on the _id.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
[ObsoleteAttribute("AutoIndexId has been deprecated since server version 3.2.")]
public bool? AutoIndexId { get; set; }

Property Value

Type: NullableBoolean
See Also