Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes all metadata that is associated with the specified replica.
HRESULT RemoveReplicaMetadata(
BYTE * pbReplicaId,
ID_PARAMETERS * pIdParameters);
Parameters
Term |
Definition |
pbReplicaId |
[in] All metadata that is associated with this replica ID is removed from the metadata store. |
pIdParameters |
[in] The ID format schema of the provider. |
Return Value
S_OK.
E_POINTER.
SYNC_E_ID_FORMAT_MISMATCH when the ID format schema that is specified by pIdParameters does not match the ID format schema for the replica that is stored in the metadata store.
SYNC_E_METADATA_REPLICA_IN_USE when an instance of this replica metadata object is already active.
SYNC_E_METADATA_INVALID_OPERATION when the metadata store has not been opened. For example, ISqlSyncMetadataStore::OpenStore must be called to open the metadata store before this method can be called on an ISqlSyncMetadataStore object.