Partilhar via


RangeShardMap<TKey>.TryGetMappingForKey Método

Definição

Sobrecargas

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

Parâmetros

key
TKey
rangeMapping
RangeMapping<TKey>

Retornos

Aplica-se a

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

Parâmetros

key
TKey
lookupOptions
LookupOptions
rangeMapping
RangeMapping<TKey>

Retornos

Aplica-se a