ShardKey Constructors
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.
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
- value
- DateTimeOffset
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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk