Partager via


MongoDbShardKeyInfo Constructors

Definition

Overloads

MongoDbShardKeyInfo()

Initializes a new instance of the MongoDbShardKeyInfo class.

MongoDbShardKeyInfo(IList<MongoDbShardKeyField>, Boolean)

Initializes a new instance of the MongoDbShardKeyInfo class.

MongoDbShardKeyInfo()

Initializes a new instance of the MongoDbShardKeyInfo class.

public MongoDbShardKeyInfo ();
Public Sub New ()

Applies to

MongoDbShardKeyInfo(IList<MongoDbShardKeyField>, Boolean)

Initializes a new instance of the MongoDbShardKeyInfo class.

public MongoDbShardKeyInfo (System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.MongoDbShardKeyField> fields, bool isUnique);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbShardKeyInfo : System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.MongoDbShardKeyField> * bool -> Microsoft.Azure.Management.DataMigration.Models.MongoDbShardKeyInfo
Public Sub New (fields As IList(Of MongoDbShardKeyField), isUnique As Boolean)

Parameters

fields
IList<MongoDbShardKeyField>

The fields within the shard key

isUnique
Boolean

Whether the shard key is unique

Applies to