ShardMapManager.TryGetRangeShardMap(String, RangeShardMap<TKey>) ShardMapManager.TryGetRangeShardMap(String, RangeShardMap<TKey>) ShardMapManager.TryGetRangeShardMap(String, RangeShardMap<TKey>) Method

Definition

Tries to obtains a RangeShardMap<TKey> given the name.

public bool TryGetRangeShardMap<TKey> (string shardMapName, out Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeShardMap<TKey> shardMap);
member this.TryGetRangeShardMap : string *  -> bool
Public Function TryGetRangeShardMap(Of TKey) (shardMapName As String, ByRef shardMap As RangeShardMap(Of TKey)) As Boolean
Type Parameters
TKey

Key type.

Parameters
shardMapName
String String String

Name of shard map.

shardMap
RangeShardMap<TKey> RangeShardMap<TKey> RangeShardMap<TKey>

Shard map with the specified name.

Returns

true if shard map with the specified name was found, false otherwise.

Applies to