Gets the ID of the replica that is associated with this metadata.
HRESULT GetReplicaId( BYTE * pbReplicaId, ULONG * pcbReplicaId);
[in, out, size_is(*pcbReplicaId), unique] Returns the ID of the replica that is associated with this metadata.
[in, out] Specifies the number of bytes in pbReplicaId. Returns the required number of bytes for pbReplicaId when pbReplicaId is too small, or the number of bytes written to pbReplicaId when data is written.
HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pbReplicaId is too small. In this case, pcbReplicaId returns the number of bytes required.
A replica ID uniquely identifies a replica to a synchronization community.