ShardKeyType Enum

Definition

Type of shard key. Currently, only Int32, Int64, Guid and byte[] are the data types supported as shard keys.

public enum ShardKeyType
type ShardKeyType = 
Public Enum ShardKeyType
Inheritance
System.Enum
ShardKeyType

Fields

Binary 4

Array of bytes value.

DateTime 5

Date and time value.

DateTimeOffset 7

Date and time value with offset.

Guid 3

UniqueIdentifier value.

Int32 1

32-bit integral value.

Int64 2

64-bit integral value.

None 0

No type specified.

TimeSpan 6

Time value.

Applies to