SqlMetadataStore::RemoveReplicaMetadata Method

Removes all metadata associated with the specified replica.

Namespace:  Microsoft.Synchronization.MetadataStorage
Assembly:  Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)

public:
virtual void RemoveReplicaMetadata(
	SyncIdFormatGroup^ idFormats, 
	SyncId^ replicaId
) override

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
replicaId
Type: Microsoft.Synchronization::SyncId
All metadata associated with this replica ID is removed from the metadata store.

ExceptionCondition
ReplicaMetadataInUseException

An instance of ReplicaMetadata for replicaId is currently active.

ReplicaMetadataNotFoundException

Metadata for replicaId does not exist in the metadata store.

Show: