Share via


MongoDBShardKeyField Class

Definition

Describes a field reference within a MongoDB shard key.

public class MongoDBShardKeyField
type MongoDBShardKeyField = class
Public Class MongoDBShardKeyField
Inheritance
MongoDBShardKeyField

Constructors

MongoDBShardKeyField(String, MongoDBShardKeyOrder)

Initializes a new instance of MongoDBShardKeyField.

Properties

Name

The name of the field.

Order

The field ordering.

Applies to