你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RangeShardMap<TKey> 类

定义

public sealed class RangeShardMap<TKey> : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMap
type RangeShardMap<'Key> = class
    inherit ShardMap
Public NotInheritable Class RangeShardMap(Of TKey)
Inherits ShardMap

类型参数

TKey
继承
RangeShardMap<TKey>

属性

KeyType (继承自 ShardMap)
MapType (继承自 ShardMap)
Name (继承自 ShardMap)

方法

Clone()
CloneCore() (继承自 ShardMap)
CreateRangeMapping(Range<TKey>, Shard)
CreateRangeMapping(RangeMappingCreationInfo<TKey>)
CreateShard(ShardCreationInfo) (继承自 ShardMap)
CreateShard(ShardLocation) (继承自 ShardMap)
DeleteMapping(RangeMapping<TKey>)
DeleteMapping(RangeMapping<TKey>, MappingLockToken)
DeleteShard(Shard) (继承自 ShardMap)
GetMappingForKey(TKey)
GetMappingForKey(TKey, LookupOptions)
GetMappingLockOwner(RangeMapping<TKey>)
GetMappings()
GetMappings(Range<TKey>)
GetMappings(Range<TKey>, Shard)
GetMappings(Shard)
GetShard(ShardLocation) (继承自 ShardMap)
GetShards() (继承自 ShardMap)
LockMapping(RangeMapping<TKey>, MappingLockToken)
MarkMappingOffline(RangeMapping<TKey>)
MarkMappingOffline(RangeMapping<TKey>, MappingLockToken)
MarkMappingOffline(RangeMapping<TKey>, MappingLockToken, MappingOptions)
MarkMappingOffline(RangeMapping<TKey>, MappingOptions)
MarkMappingOnline(RangeMapping<TKey>)
MarkMappingOnline(RangeMapping<TKey>, MappingLockToken)
MergeMappings(RangeMapping<TKey>, RangeMapping<TKey>)
MergeMappings(RangeMapping<TKey>, RangeMapping<TKey>, MappingLockToken, MappingLockToken)
OpenConnectionForKey(TKey, String)
OpenConnectionForKey(TKey, String, ConnectionOptions)
OpenConnectionForKey(TKey, String, SqlCredential)
OpenConnectionForKey(TKey, String, SqlCredential, ConnectionOptions)
OpenConnectionForKey<TKey>(TKey, String) (继承自 ShardMap)
OpenConnectionForKey<TKey>(TKey, String, ConnectionOptions) (继承自 ShardMap)
OpenConnectionForKey<TKey>(TKey, String, SqlCredential) (继承自 ShardMap)
OpenConnectionForKey<TKey>(TKey, String, SqlCredential, ConnectionOptions) (继承自 ShardMap)
OpenConnectionForKeyAsync(TKey, String)
OpenConnectionForKeyAsync(TKey, String, ConnectionOptions)
OpenConnectionForKeyAsync(TKey, String, SqlCredential)
OpenConnectionForKeyAsync(TKey, String, SqlCredential, ConnectionOptions)
OpenConnectionForKeyAsync<TKey>(TKey, String) (继承自 ShardMap)
OpenConnectionForKeyAsync<TKey>(TKey, String, ConnectionOptions) (继承自 ShardMap)
OpenConnectionForKeyAsync<TKey>(TKey, String, SqlCredential) (继承自 ShardMap)
OpenConnectionForKeyAsync<TKey>(TKey, String, SqlCredential, ConnectionOptions) (继承自 ShardMap)
SplitMapping(RangeMapping<TKey>, TKey)
SplitMapping(RangeMapping<TKey>, TKey, MappingLockToken)
ToString() (继承自 ShardMap)
TryGetMappingForKey(TKey, LookupOptions, RangeMapping<TKey>)
TryGetMappingForKey(TKey, RangeMapping<TKey>)
TryGetShard(ShardLocation, Shard) (继承自 ShardMap)
UnlockMapping(MappingLockToken)
UnlockMapping(RangeMapping<TKey>, MappingLockToken)
UpdateMapping(RangeMapping<TKey>, RangeMappingUpdate)
UpdateMapping(RangeMapping<TKey>, RangeMappingUpdate, MappingLockToken)

扩展方法

AsListShardMap<TKey>(ShardMap)
AsRangeShardMap<TKey>(ShardMap)

适用于