IKnowledgeBuilder::AddReplicaKeyMapEntry
Adds an entry to the IReplicaKeyMap object that is used to build the knowledge.
HRESULT AddReplicaKeyMapEntry(
BYTE* pReplicaId,
DWORD dwReplicaKey);
Parameters
- pReplicaId
[in] The replica ID portion of the entry.
- dwReplicaKey
[in] The replica key portion of the entry.
Return Value
S_OK.
E_POINTER.
SYNC_E_INVALIDOPERATION if the IKnowledgeBuilder object is in an improper state, such as when IKnowledgeBuilder::Initialize has not been called.
SYNC_E_DUPLICATEITEM if an entry already exists for the replica ID or key.