Aracılığıyla paylaş


RangeShardMap<TKey>.TryGetMappingForKey Method

Definition

Overloads

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

Parameters

key
TKey
rangeMapping
RangeMapping<TKey>

Returns

Applies to

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

Parameters

key
TKey
lookupOptions
LookupOptions
rangeMapping
RangeMapping<TKey>

Returns

Applies to