Share via


ShardKey Constructors

Definition

Overloads

ShardKey(Byte[])
ShardKey(DateTime)
ShardKey(DateTimeOffset)
ShardKey(Guid)
ShardKey(Int32)
ShardKey(Int64)
ShardKey(Object)
ShardKey(TimeSpan)
ShardKey(ShardKeyType, Object)

ShardKey(Byte[])

public ShardKey (byte[] value);
new Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey : byte[] -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey
Public Sub New (value As Byte())

Parameters

value
Byte[]

Applies to

ShardKey(DateTime)

public ShardKey (DateTime value);
new Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey : DateTime -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey
Public Sub New (value As DateTime)

Parameters

value
DateTime

Applies to

ShardKey(DateTimeOffset)

public ShardKey (DateTimeOffset value);
new Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey : DateTimeOffset -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey
Public Sub New (value As DateTimeOffset)

Parameters

Applies to

ShardKey(Guid)

public ShardKey (Guid value);
new Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey : Guid -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey
Public Sub New (value As Guid)

Parameters

value
Guid

Applies to

ShardKey(Int32)

public ShardKey (int value);
new Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey : int -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey
Public Sub New (value As Integer)

Parameters

value
Int32

Applies to

ShardKey(Int64)

public ShardKey (long value);
new Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey : int64 -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey
Public Sub New (value As Long)

Parameters

value
Int64

Applies to

ShardKey(Object)

public ShardKey (object value);
new Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey : obj -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey
Public Sub New (value As Object)

Parameters

value
Object

Applies to

ShardKey(TimeSpan)

public ShardKey (TimeSpan value);
new Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey : TimeSpan -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey
Public Sub New (value As TimeSpan)

Parameters

value
TimeSpan

Applies to

ShardKey(ShardKeyType, Object)

public ShardKey (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKeyType keyType, object value);
new Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKeyType * obj -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardKey
Public Sub New (keyType As ShardKeyType, value As Object)

Parameters

keyType
ShardKeyType
value
Object

Applies to