Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Called by the Sync Framework runtime to delete an item from the destination store.
Syntax
HRESULT DeleteItem(
const ITEM_FIELDS *pKeyAndExpectedVersionInfo,
IRecoverableErrorCallback *pRecoverableErrorCallback,
BOOL *pfCommitKnowledgeAfterThisItem);
Parameters
pKeyAndExpectedVersionInfo
[in] The key and expected version properties of the item to be deleted.The provider must perform an optimistic concurrency check to verify that the version of the item on the destination corresponds to the values found in pKeyAndExpectedVersionInfo. If this check fails, provider should report a recoverable error.
pRecoverableErrorCallback
[in] An IRecoverableErrorCallback object that contains methods that can be called if a recoverable error occurs during an item delete.pfCommitKnowledgeAfterThisItem
[out] Returns whether the Sync Framework runtime should commit knowledge to the metadata store after processing is complete for the specified item.
Return Value
- S_OK