KNOWLEDGE_COOKIE_COMPARISON_RESULT Enumeration

Represents the possible results when a knowledge cookie is compared with a knowledge object by using ISyncKnowledge2::CompareToKnowledgeCookie.

Syntax

typedef enum
{
  KCCR_COOKIE_KNOWLEDGE_EQUAL,
  KCCR_COOKIE_KNOWLEDGE_CONTAINED,
  KCCR_COOKIE_KNOWLEDGE_CONTAINS,
  KCCR_COOKIE_KNOWLEDGE_NOT_COMPARABLE
} KNOWLEDGE_COOKIE_COMPARISON_RESULT;

Members

Term

Definition

KCCR_COOKIE_KNOWLEDGE_EQUAL

The knowledge cookie is equal to the specified knowledge.

KCCR_COOKIE_KNOWLEDGE_CONTAINED

The knowledge cookie is contained by the specified knowledge.

KCCR_COOKIE_KNOWLEDGE_CONTAINS

The knowledge cookie contains the specified knowledge.

KCCR_COOKIE_KNOWLEDGE_NOT_COMPARABLE

The knowledge cookie cannot be compared to the specified knowledge.

Remarks

A knowledge cookie is a lightweight, read-only representation of knowledge that can be used for fast comparisons when performance is especially important.

Requirements

Header: Synchronization.h

See Also

Concepts

Sync Framework Core Components