This topic has not yet been rated - Rate this topic

IReplicaMetadata::GetKnowledge

Gets the current knowledge for this replica.


HRESULT GetKnowledge(
  ISyncKnowledge ** ppKnowledge);

Parameters

ppKnowledge

[out] Returns the current knowledge for this replica.

  • S_OK

  • E_POINTER

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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.