RecoveryManager.GetShardMapType Method
Returns the shard map type of the 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 ShardMapType
returnValue = instance.GetShardMapType(token)
Syntax
'Declaration
Public Function GetShardMapType ( _
token As RecoveryToken _
) As ShardMapType
public ShardMapType GetShardMapType (
RecoveryToken token
)
public:
ShardMapType GetShardMapType (
RecoveryToken^ token
)
public ShardMapType GetShardMapType (
RecoveryToken token
)
public function GetShardMapType (
token : RecoveryToken
) : ShardMapType
Parameters
- token
Recovery token returned from DetectMappingDifferences(ShardLocation,String).
Return Value
The type of shard map (list, range, etc...) corresponding to the recovery token.
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