ISyncKnowledge interface (winsync.h)

Represents knowledge that a replica has about its item store.

Inheritance

The ISyncKnowledge interface inherits from the IUnknown interface. ISyncKnowledge also has these types of members:

Methods

The ISyncKnowledge interface has these methods.

 
ISyncKnowledge::Clone

Creates a new instance of this object, and copies the data from this object to the new object.
ISyncKnowledge::ContainsChange

Indicates whether the specified item change is known by this knowledge.
ISyncKnowledge::ContainsChangeUnit

Indicates whether the specified change unit change is known by this knowledge.
ISyncKnowledge::ContainsKnowledge

Indicates whether the specified knowledge is known by this knowledge.
ISyncKnowledge::ConvertVersion

Converts a version from another replica into one that is compatible with the replica that owns this knowledge.
ISyncKnowledge::ExcludeChangeUnit

Removes knowledge about the specified change unit from the knowledge.
ISyncKnowledge::ExcludeItem

Removes knowledge about the specified item from the knowledge.
ISyncKnowledge::FindClockVectorForChangeUnit

Gets the clock vector that is associated with the specified change unit ID.
ISyncKnowledge::FindClockVectorForItem

Gets the clock vector that is associated with the specified item ID.
ISyncKnowledge::FindMinTickCountForReplica

Finds the minimum tick count in the knowledge for the specified replica.
ISyncKnowledge::GetChangeUnitExceptions

Gets an object that can enumerate the IChangeUnitException objects that are stored in the knowledge.
ISyncKnowledge::GetOwnerReplicaId

Gets the ID of the replica that owns this knowledge.
ISyncKnowledge::GetRangeExceptions

Gets an object that can enumerate the IRangeException objects that are stored in the knowledge.
ISyncKnowledge::GetReplicaKeyMap

Gets the IReplicaKeyMap object that is associated with this knowledge.
ISyncKnowledge::GetScopeVector

Gets the clock vector that defines the changes that are contained in the knowledge.
ISyncKnowledge::GetSingleItemExceptions

Gets an object that can enumerate the ISingleItemException objects that are stored in the knowledge.
ISyncKnowledge::GetVersion

Gets the version of this knowledge structure.
ISyncKnowledge::MapRemoteToLocal

Converts a knowledge object from another replica into one that is compatible with the replica that owns this knowledge.
ISyncKnowledge::ProjectOntoChangeUnit

Gets the knowledge for the specified change unit.
ISyncKnowledge::ProjectOntoItem

Gets the knowledge for the specified item.
ISyncKnowledge::ProjectOntoRange

Gets the knowledge for the specified range of item IDs.
ISyncKnowledge::Serialize

Serializes the knowledge object data to a byte array.
ISyncKnowledge::SetLocalTickCount

Sets the tick count for the replica that owns this knowledge.
ISyncKnowledge::Union

Combines the specified knowledge with the current knowledge.

Remarks

Be aware that there is no single representation of knowledge. Equivalent knowledge might be represented in different forms and return different values from knowledge inspection methods, such as GetScopeVector, GetRangeExceptions, GetSingleItemExceptions, GetChangeUnitExceptions.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

IChangeUnitException Interface

IRangeException Interface

IReplicaKeyMap Interface

ISingleItemException Interface

Windows Sync Interfaces