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

RangeShardMap<TKey>.GetMappingForKey 方法

定义

重载

GetMappingForKey(TKey)
GetMappingForKey(TKey, LookupOptions)

GetMappingForKey(TKey)

public Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<TKey> GetMappingForKey (TKey key);
member this.GetMappingForKey : 'Key -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeMapping<'Key>
Public Function GetMappingForKey (key As TKey) As RangeMapping(Of TKey)

参数

key
TKey

返回

适用于

GetMappingForKey(TKey, LookupOptions)

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

参数

key
TKey
lookupOptions
LookupOptions

返回

适用于