ShardMap.GetShard(ShardLocation) Method

Definition

Obtains the shard for the specified location.

public Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard GetShard (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardLocation location);
member this.GetShard : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardLocation -> Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard
Public Function GetShard (location As ShardLocation) As Shard

Parameters

location
ShardLocation

Location of the shard.

Returns

Shard

Shard which has the specified location.

Applies to