RecoveryManager.GetShardLocation Method
Returns the shard location of the local shard map processed by DetectMappingDifferences(ShardLocation,String).
Namespace: Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Recovery
Assembly: Microsoft.Azure.SqlDatabase.ElasticScale.Client (in Microsoft.Azure.SqlDatabase.ElasticScale.Client.dll)
Usage
'Usage
Dim instance As RecoveryManager
Dim token As RecoveryToken
Dim returnValue As ShardLocation
returnValue = instance.GetShardLocation(token)
Syntax
'Declaration
Public Function GetShardLocation ( _
token As RecoveryToken _
) As ShardLocation
public ShardLocation GetShardLocation (
RecoveryToken token
)
public:
ShardLocation^ GetShardLocation (
RecoveryToken^ token
)
public ShardLocation GetShardLocation (
RecoveryToken token
)
public function GetShardLocation (
token : RecoveryToken
) : ShardLocation
Parameters
- token
Recovery token returned from DetectMappingDifferences(ShardLocation,String)
Return Value
Location of the shard corresponding to the set of mapping differences detected in DetectMappingDifferences(ShardLocation,String).
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
RecoveryManager Class
RecoveryManager Members
Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Recovery Namespace