MongoDbShardKeyInfo 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 MongoDB shard key
public class MongoDbShardKeyInfo
type MongoDbShardKeyInfo = class
Public Class MongoDbShardKeyInfo
- Inheritance
-
MongoDbShardKeyInfo
Constructors
MongoDbShardKeyInfo() |
Initializes a new instance of the MongoDbShardKeyInfo class. |
MongoDbShardKeyInfo(IList<MongoDbShardKeyField>, Boolean) |
Initializes a new instance of the MongoDbShardKeyInfo class. |
Properties
Fields |
Gets or sets the fields within the shard key |
IsUnique |
Gets or sets whether the shard key is unique |
Methods
Validate() |
Validate the object. |