MongoDbShardKeyInfo 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
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