ReplicaMetadata.SetKnowledge Method
When overridden in a derived class, sets the current knowledge for this replica.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)
Syntax
'Declaration
Public MustOverride Sub SetKnowledge ( _
knowledge As SyncKnowledge _
)
'Usage
Dim instance As ReplicaMetadata
Dim knowledge As SyncKnowledge
instance.SetKnowledge(knowledge)
public abstract void SetKnowledge (
SyncKnowledge knowledge
)
public:
virtual void SetKnowledge (
SyncKnowledge^ knowledge
) abstract
public abstract void SetKnowledge (
SyncKnowledge knowledge
)
public abstract function SetKnowledge (
knowledge : SyncKnowledge
)
Parameters
- knowledge
The knowledge to set as the current knowledge for this replica.
Exceptions
Exception type | Condition |
---|---|
The object has been disposed or was not initialized correctly. |
|
knowledge is a null reference (Nothing in Visual Basic). |
|
knowledge contains a replica ID that is different from the replica ID for this metadata. |
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.
See Also
Reference
ReplicaMetadata Class
ReplicaMetadata Members
Microsoft.Synchronization.MetadataStorage Namespace