IItemMetadata::ResurrectDeletedItem
Restores an item that was previously marked as deleted in the metadata store.
HRESULT ResurrectDeletedItem();
Parameters
None
Return Value
S_OK
SYNC_E_INVALIDOPERATION if the item is not marked as deleted.
Remarks
Because the IItemMetadata::MarkAsDeleted method removes all change unit version information, an item that is restored by using ResurrectDeletedItem will not contain any change unit versions.
Note
This method does not save the change to the store. IReplicaMetadata::SaveItemMetadata must be called to save all changes that have been made to the IItemMetadata properties.