Condividi tramite


RecoveryManager.ResolveMappingDifferences Method

Selects one of the shard maps (either local or global) as a source of truth and brings mappings on both shard maps in sync.

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 resolution As MappingDifferenceResolution

instance.ResolveMappingDifferences(token, resolution)

Syntax

'Declaration
Public Sub ResolveMappingDifferences ( _
    token As RecoveryToken, _
    resolution As MappingDifferenceResolution _
)
public void ResolveMappingDifferences (
    RecoveryToken token,
    MappingDifferenceResolution resolution
)
public:
void ResolveMappingDifferences (
    RecoveryToken^ token, 
    MappingDifferenceResolution resolution
)
public void ResolveMappingDifferences (
    RecoveryToken token, 
    MappingDifferenceResolution resolution
)
public function ResolveMappingDifferences (
    token : RecoveryToken, 
    resolution : MappingDifferenceResolution
)

Parameters

  • resolution
    The resolution strategy to be used for resolution.

Remarks

Note that this method can cause unrecoverable data loss. Make sure you have taken backups or copies of your databases and only then proceed with great care.

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