MongoIndexOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cosmos DB MongoDB collection index options
public class MongoIndexOptions
type MongoIndexOptions = class
Public Class MongoIndexOptions
- Inheritance
-
MongoIndexOptions
Constructors
MongoIndexOptions() |
Initializes a new instance of the MongoIndexOptions class. |
MongoIndexOptions(Nullable<Int32>, Nullable<Boolean>) |
Initializes a new instance of the MongoIndexOptions class. |
Properties
ExpireAfterSeconds |
Gets or sets expire after seconds |
Unique |
Gets or sets is unique or not |