你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MongoIndexOptions 构造函数

定义

重载

MongoIndexOptions()

初始化 MongoIndexOptions 类的新实例。

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

初始化 MongoIndexOptions 类的新实例。

MongoIndexOptions()

初始化 MongoIndexOptions 类的新实例。

public MongoIndexOptions ();
Public Sub New ()

适用于

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

初始化 MongoIndexOptions 类的新实例。

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

参数

expireAfterSeconds
Nullable<Int32>

秒后过期

unique
Nullable<Boolean>

是否唯一

适用于