MongoDbShardKeySetting Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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