你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ShardMap.TryGetShard(ShardLocation, Shard) 方法

定义

public bool TryGetShard (Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardLocation location, out Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard shard);
member this.TryGetShard : Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardLocation * Shard -> bool
Public Function TryGetShard (location As ShardLocation, ByRef shard As Shard) As Boolean

参数

location
ShardLocation
shard
Shard

返回

适用于