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.
Indicates whether the specified item should be included in a change batch.
Syntax
HRESULT OnAddingItemToBatch(
IItemMetadata *pItemMetadata,
BOOL *pfShouldIncludeInBatch);
Parameters
pItemMetadata
[in] The metadata for the item.pfShouldIncludeInBatch
[out] Returns TRUE if the item should be included in the change batch. Otherwise, FALSE.
Return Value
S_OK
E_POINTER
Provider-specific error codes
Remarks
The metadata storage service calls OnAddingItemToBatch one time for each item change that is detected during change detection. When OnAddingItemToBatch is called, it can inspect the item change metadata and indicate whether the change should be included in the change batch.