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.
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.