Delen via


MongoDBShardKeySetting Class

Definition

Describes a MongoDB shard key.

public class MongoDBShardKeySetting
type MongoDBShardKeySetting = class
Public Class MongoDBShardKeySetting
Inheritance
MongoDBShardKeySetting

Constructors

MongoDBShardKeySetting(IEnumerable<MongoDBShardKeyField>)

Initializes a new instance of MongoDBShardKeySetting.

Properties

Fields

The fields within the shard key.

IsUnique

Whether the shard key is unique.

Applies to