ISyncKnowledge2::GetKnowledgeCookie

SQL Server 2008 R2

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


HRESULT GetKnowledgeCookie(
  IUnknown ** ppKnowledgeCookie);

Parameters

ppKnowledgeCookie

[out] Returns a lightweight, read-only representation of this knowledge object that can be used for fast comparisons.

  • S_OK

  • E_POINTER

A knowledge cookie can be used for fast comparisons with other knowledge objects by using ISyncKnowledge2::CompareToKnowledgeCookie when the performance of the comparison operation is especially important.

Show: