ReplicaMetadata.GetKnowledge Method
When overridden in a derived class, gets the current knowledge for this replica.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)
Syntax
'Declaration
Public MustOverride Function GetKnowledge As SyncKnowledge
'Usage
Dim instance As ReplicaMetadata
Dim returnValue As SyncKnowledge
returnValue = instance.GetKnowledge
public abstract SyncKnowledge GetKnowledge ()
public:
virtual SyncKnowledge^ GetKnowledge () abstract
public abstract SyncKnowledge GetKnowledge ()
public abstract function GetKnowledge () : SyncKnowledge
Return Value
The current knowledge for this replica. If no knowledge exists, a new knowledge object is created.
Exceptions
Exception type | Condition |
---|---|
The object has been disposed or was not initialized correctly. |
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.
See Also
Reference
ReplicaMetadata Class
ReplicaMetadata Members
Microsoft.Synchronization.MetadataStorage Namespace