Condividi tramite


RecoveryManager.GetShardMapName Method

Returns the shard map name 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 String

returnValue = instance.GetShardMapName(token)

Syntax

'Declaration
Public Function GetShardMapName ( _
    token As RecoveryToken _
) As String
public string GetShardMapName (
    RecoveryToken token
)
public:
String^ GetShardMapName (
    RecoveryToken^ token
)
public String GetShardMapName (
    RecoveryToken token
)
public function GetShardMapName (
    token : RecoveryToken
) : String

Parameters

Return Value

The name of the shard map for the given 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