ISyncKnowledge interface

Represents knowledge that a replica has about its item store.

Members

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

Methods

The ISyncKnowledge interface has these methods.

MethodDescription
Clone

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

ContainsChange

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

ContainsChangeUnit

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

ContainsKnowledge

Indicates whether the specified knowledge is known by this knowledge.

ConvertVersion

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

ExcludeChangeUnit

Removes knowledge about the specified change unit from the knowledge.

ExcludeItem

Removes knowledge about the specified item from the knowledge.

FindClockVectorForChangeUnit

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

FindClockVectorForItem

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

FindMinTickCountForReplica

Finds the minimum tick count in the knowledge for the specified replica.

GetChangeUnitExceptions

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

GetOwnerReplicaId

Gets the ID of the replica that owns this knowledge.

GetRangeExceptions

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

GetReplicaKeyMap

Gets the IReplicaKeyMap object that is associated with this knowledge.

GetScopeVector

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

GetSingleItemExceptions

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

GetVersion

Gets the version of this knowledge structure.

MapRemoteToLocal

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

ProjectOntoChangeUnit

Gets the knowledge for the specified change unit.

ProjectOntoItem

Gets the knowledge for the specified item.

ProjectOntoRange

Gets the knowledge for the specified range of item IDs.

Serialize

Serializes the knowledge object data to a byte array.

SetLocalTickCount

Sets the tick count for the replica that owns this knowledge.

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Winsync.h

See also

IChangeUnitException Interface
IRangeException Interface
IReplicaKeyMap Interface
ISingleItemException Interface
Windows Sync Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft