ItemChange.LearnedKnowledge Property
Gets the knowledge that a replica will learn when this change is applied to its item store.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public ReadOnly Property LearnedKnowledge As SyncKnowledge
Get
'Usage
Dim instance As ItemChange
Dim value As SyncKnowledge
value = instance.LearnedKnowledge
public SyncKnowledge LearnedKnowledge { get; }
public:
property SyncKnowledge^ LearnedKnowledge {
SyncKnowledge^ get ();
}
member LearnedKnowledge : SyncKnowledge
function get LearnedKnowledge () : SyncKnowledge
Property Value
Type: Microsoft.Synchronization.SyncKnowledge
The knowledge that a replica will learn when this change is applied to its item store.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | LearnedKnowledge is in an invalid state. See Remarks. |
Remarks
This knowledge is valid only when the current knowledge of the destination replica contains the prerequisite knowledge of the change batch that contains this change. The prerequisite knowledge of the change batch can be obtained by using PrerequisiteKnowledge.
This knowledge is only meaningful when the ItemChange object represents a change from the source provider.