Udostępnij za pośrednictwem


ILoggedConflict::GetConflictingItemId

Gets the item ID of the item in the destination replica that conflicts with this item, when this conflict is a constraint conflict.

HRESULT GetConflictingItemId(
  BYTE * pbItemId, 
  DWORD * pcbIdSize);

Parameters

  • pbItemId
    [in, out, unique, size_is(*pcbIdSize)] Returns the ID of the item.
  • pcbIdSize
    [in, out] Specifies the number of bytes in pbItemId. Returns the number of bytes required to retrieve the ID when pbItemId is too small, or returns the number of bytes written.

Return Value

  • S_OK.

  • S_FALSE when this conflict does not contain a conflicting item ID.

  • E_POINTER.

  • HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pbItemId is too small. In this case, the required number of bytes is returned in pcbIdSize.

See Also

Reference

ILoggedConflict Interface