Class MongoIndexOptions
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Cosmos DB MongoDB collection index options
public class MongoIndexOptions
- Inheritance
-
MongoIndexOptions
- Inherited Members
Constructors
MongoIndexOptions()
Initializes a new instance of the MongoIndexOptions class.
public MongoIndexOptions()
MongoIndexOptions(int?, bool?)
Initializes a new instance of the MongoIndexOptions class.
public MongoIndexOptions(int? expireAfterSeconds = null, bool? unique = null)
Parameters
Properties
ExpireAfterSeconds
Gets or sets expire after seconds
public int? ExpireAfterSeconds { get; set; }
Property Value
- int?
Unique
Gets or sets is unique or not
public bool? Unique { get; set; }
Property Value
- bool?