ShardMapManager.TryGetListShardMap(String, ListShardMap<TKey>) ShardMapManager.TryGetListShardMap(String, ListShardMap<TKey>) ShardMapManager.TryGetListShardMap(String, ListShardMap<TKey>) Method

Definition

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

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

Type Parameters

TKey

Key type.

Parameters

shardMapName
String String String

Name of shard map.

shardMap
ListShardMap<TKey> ListShardMap<TKey> ListShardMap<TKey>

Shard map with the specified name.

Returns

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

Applies to