MongoDBShardKeyField(String, MongoDBShardKeyOrder) Constructor
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.
Initializes a new instance of MongoDBShardKeyField.
public MongoDBShardKeyField (string name, Azure.ResourceManager.DataMigration.Models.MongoDBShardKeyOrder order);
new Azure.ResourceManager.DataMigration.Models.MongoDBShardKeyField : string * Azure.ResourceManager.DataMigration.Models.MongoDBShardKeyOrder -> Azure.ResourceManager.DataMigration.Models.MongoDBShardKeyField
Public Sub New (name As String, order As MongoDBShardKeyOrder)
Parameters
- name
- String
The name of the field.
- order
- MongoDBShardKeyOrder
The field ordering.
Exceptions
name
is null.