ReplicaMetadata.GetKnowledge Method
When overridden in a derived class, gets the current knowledge for this replica.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
'Declaration Public MustOverride Function GetKnowledge As SyncKnowledge 'Usage Dim instance As ReplicaMetadata Dim returnValue As SyncKnowledge returnValue = instance.GetKnowledge()
Return Value
Type: Microsoft.Synchronization.SyncKnowledgeThe current knowledge for this replica. If no knowledge exists, a new knowledge object is created.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The object has been disposed or was not initialized correctly. |
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.
Show: