Share via


MongoIndexOptions Class

Definition

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

Applies to