Compartilhar via


MongoDbShardKeySetting Constructors

Definition

Overloads

MongoDbShardKeySetting()

Initializes a new instance of the MongoDbShardKeySetting class.

MongoDbShardKeySetting(IList<MongoDbShardKeyField>, Boolean)

Initializes a new instance of the MongoDbShardKeySetting class.

MongoDbShardKeySetting()

Initializes a new instance of the MongoDbShardKeySetting class.

public MongoDbShardKeySetting ();
Public Sub New ()

Applies to

MongoDbShardKeySetting(IList<MongoDbShardKeyField>, Boolean)

Initializes a new instance of the MongoDbShardKeySetting class.

public MongoDbShardKeySetting (System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.MongoDbShardKeyField> fields, bool isUnique);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbShardKeySetting : System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.MongoDbShardKeyField> * bool -> Microsoft.Azure.Management.DataMigration.Models.MongoDbShardKeySetting
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