MongoDbShardKeyField Class
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.
Describes a field reference within a MongoDB shard key
public class MongoDbShardKeyField
type MongoDbShardKeyField = class
Public Class MongoDbShardKeyField
- Inheritance
-
MongoDbShardKeyField
Constructors
MongoDbShardKeyField() |
Initializes a new instance of the MongoDbShardKeyField class. |
MongoDbShardKeyField(String, String) |
Initializes a new instance of the MongoDbShardKeyField class. |
Properties
Name |
Gets or sets the name of the field |
Order |
Gets or sets the field ordering Possible values include: 'Forward', 'Reverse', 'Hashed' |
Methods
Validate() |
Validate the object. |