Share via


IReplicaMetadata::GetKnowledge

Gets the current knowledge for this replica.

HRESULT GetKnowledge(
  ISyncKnowledge ** ppKnowledge);

Parameters

  • ppKnowledge
    [out] Returns the current knowledge for this replica.

Return Value

  • S_OK

  • E_POINTER

Remarks

This knowledge object represents changes that have been made to the items in this replica. To other providers, this knowledge object represents the current versions of the items in this replica.

The knowledge that is returned must always have its tick count set to the tick count that is saved in the metadata store.

A provider can use this method to get the knowledge of the replica when Sync Framework calls its IKnowledgeSyncProvider::GetSyncBatchParameters method.

See Also

Reference

IReplicaMetadata Interface