ISyncKnowledge2 interface

Represents additional information about the knowledge that a replica has about its item store.

Members

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

Methods

The ISyncKnowledge2 interface has these methods.

MethodDescription
CompareToKnowledgeCookie

Performs a fast comparison between the specified knowledge cookie and this knowledge object.

Complement

Returns the knowledge that is contained in this object but that is not contained in the specified knowledge.

ContainsKnowledgeForChangeUnit

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

ContainsKnowledgeForItem

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

GetIdParameters

Gets the ID format schema of the provider.

GetInspector

Returns an object that can be used to retrieve the contents of the knowledge object.

GetKnowledgeCookie

Gets a lightweight, read-only representation of this knowledge object that can be used for fast comparisons.

GetLowestUncontainedId

Returns the lowest item ID that is contained in the specified knowledge and that is not contained in this knowledge.

GetMinimumSupportedVersion

Gets the minimum supported version of Microsoft Sync Framework components that can be used with this object.

GetStatistics

Gets the specified statistic data that is contained in this object.

IntersectsWithKnowledge

Indicates whether the specified knowledge intersects with this knowledge.

ProjectOntoColumnSet

Returns the knowledge for the specified set of change units for all the items that are contained in this object.

ProjectOntoKnowledgeWithPrerequisite

Returns knowledge about the knowledge fragments that are specified by the template knowledge, when the template knowledge contains the prerequisite knowledge for the specified fragments.

SerializeWithOptions

Serializes the knowledge object data to a byte array based on the specified version and serialization options.

 

Remarks

An ISyncKnowledge2 object can be obtained by passing IID_ISyncKnowledge2 to the QueryInterface method of an ISyncKnowledge object.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Winsync.h

See also

ISyncKnowledge Interface
Windows Sync Interfaces

 

 

Community Additions

ADD
Show: