ShardMapExtensions.AsRangeShardMap<TKey>(ShardMap) Method

Definition

Downcasts to RangeShardMap of TKey.

public static Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeShardMap<TKey> AsRangeShardMap<TKey> (this Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMap shardMap);
static member AsRangeShardMap : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMap -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.RangeShardMap<'Key>

Type Parameters

TKey

Key type.

Parameters

shardMap
ShardMap

Input shard map.

Returns

RangeShardMap<TKey>

RangeShardMap representation of this object.

Applies to