ISyncMetadataStoreSerializer::GetSerializedReplicaId
Returns the replica ID for the replica whose metadata was serialized to the specified destination stream.
S_OK.
E_OUTOFMEMORY.
E_POINTER.
SYNC_E_INVALIDOPERATION if the method is called without an open metadata store.
SYNC_E_METADATA_STORE_DESERIALIZATION_ERROR if any file format errors are encountered during deserialization.
HRESULT_FROM_WIN32(ERROR_MORE_DATA) if pbReplicaId is too small. In this situation, pcbReplicaId returns the number of bytes required.
The metadata store must be opened before this method is called. Open a store by calling ISqlSyncMetadataStore::OpenStore or ISqlSyncMetadataStore::CreateStore. Calling this method without first opening the store results in an error return value.
Show: