Sdílet prostřednictvím


ISyncKnowledge2::ProjectOntoColumnSet

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

HRESULT ProjectOntoColumnSet(
  const BYTE** ppColumns,
  DWORD count,
  ISyncKnowledge2** ppiKnowledgeOut);

Parameters

  • ppColumns
    [in] The set of change unit IDs to look up.
  • count
    [in] The number of change unit IDs that are contained in ppColumns.
  • ppiKnowledgeOut
    [out] Returns a knowledge object that contains only the change units that are specified by ppColumns for all items contained in this object.

Return Value

  • S_OK

  • E_INVALIDARG when count is 0.

  • E_POINTER

  • SYNC_E_ID_FORMAT_MISMATCH when the format of the change unit IDs that is contained in ppColumns is not of the format that the format schema of the provider specified.

Remarks

ProjectOntoColumnSet differs from ISyncKnowledge::ProjectOntoChangeUnit. ProjectOntoColumnSet returns a knowledge object that contains information about the specified set of change units for all the items that are contained in the knowledge object. ProjectOntoChangeUnit returns a knowledge object that contains information about a single change unit that is contained in a single item.

See Also

Reference

ISyncKnowledge2 Interface
ISyncKnowledge::ProjectOntoChangeUnit