Sdílet prostřednictvím


MongoIndexOptions Constructors

Definition

Overloads

MongoIndexOptions()

Initializes a new instance of the MongoIndexOptions class.

MongoIndexOptions(Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the MongoIndexOptions class.

MongoIndexOptions()

Initializes a new instance of the MongoIndexOptions class.

public MongoIndexOptions ();
Public Sub New ()

Applies to

MongoIndexOptions(Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the MongoIndexOptions class.

public MongoIndexOptions (int? expireAfterSeconds = default, bool? unique = default);
new Microsoft.Azure.Management.CosmosDB.Models.MongoIndexOptions : Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.CosmosDB.Models.MongoIndexOptions
Public Sub New (Optional expireAfterSeconds As Nullable(Of Integer) = Nothing, Optional unique As Nullable(Of Boolean) = Nothing)

Parameters

expireAfterSeconds
Nullable<Int32>

Expire after seconds

unique
Nullable<Boolean>

Is unique or not

Applies to