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

RangeShardMap<TKey>.TryGetMappingForKey 方法

定义

重载

TryGetMappingForKey(TKey, RangeMapping<TKey>)
TryGetMappingForKey(TKey, LookupOptions, RangeMapping<TKey>)

TryGetMappingForKey(TKey, RangeMapping<TKey>)

public bool TryGetMappingForKey (TKey key, out Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> rangeMapping);
member this.TryGetMappingForKey : 'Key * RangeMapping -> bool
Public Function TryGetMappingForKey (key As TKey, ByRef rangeMapping As RangeMapping(Of TKey)) As Boolean

参数

key
TKey
rangeMapping
RangeMapping<TKey>

返回

适用于

TryGetMappingForKey(TKey, LookupOptions, RangeMapping<TKey>)

public bool TryGetMappingForKey (TKey key, Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.LookupOptions lookupOptions, out Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> rangeMapping);
member this.TryGetMappingForKey : 'Key * Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.LookupOptions * RangeMapping -> bool
Public Function TryGetMappingForKey (key As TKey, lookupOptions As LookupOptions, ByRef rangeMapping As RangeMapping(Of TKey)) As Boolean

参数

key
TKey
lookupOptions
LookupOptions
rangeMapping
RangeMapping<TKey>

返回

适用于