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

ListShardMap<TKey>.TryGetMappingForKey Method

Definition

Overloads

TryGetMappingForKey(TKey, PointMapping<TKey>)

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

Parameters

key
TKey
pointMapping
PointMapping<TKey>

Returns

Applies to

TryGetMappingForKey(TKey, LookupOptions, PointMapping<TKey>)

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

Parameters

key
TKey
lookupOptions
LookupOptions
pointMapping
PointMapping<TKey>

Returns

Applies to