IReplicaMetadata::FindItemMetadataByGlobalId

Gets item metadata for the item that has the specified global ID.

HRESULT FindItemMetadataByGlobalId(
  const BYTE * pbGlobalId,
  IItemMetadata ** ppItemMetadata);

Parameters

  • pbGlobalId
    [in] The global ID of the item to find.
  • ppItemMetadata
    [out] Returns item metadata for the specified item.

Return Value

  • S_OK

  • E_POINTER

  • SYNC_E_METADATA_ITEM_NOT_FOUND if the specified item does not exist.

Remarks

The metadata for an item represents information about an item in the item store, such as the current version, creation version, and any custom fields available for the item.

See Also

Reference

IReplicaMetadata Interface