SimpleSyncServices.CleanupDeletedItems Method
Calls a cleanup operation to remove from the metadata store any metadata that is associated with deleted items.
Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in microsoft.synchronization.simpleproviders.dll)
Syntax
'Declaration
Public Sub CleanupDeletedItems ( _
cleanupInterval As TimeSpan _
)
'Usage
Dim instance As SimpleSyncServices
Dim cleanupInterval As TimeSpan
instance.CleanupDeletedItems(cleanupInterval)
public void CleanupDeletedItems (
TimeSpan cleanupInterval
)
public:
void CleanupDeletedItems (
TimeSpan cleanupInterval
)
public void CleanupDeletedItems (
TimeSpan cleanupInterval
)
public function CleanupDeletedItems (
cleanupInterval : TimeSpan
)
Parameters
- cleanupInterval
Cleanup runs in the metadata store if cleanUpInterval is less than the elapsed time since the last cleanup. If you specify 0, cleanup runs regardless of when cleanup last ran.
Remarks
Make sure that all replicas have received deleted items before calling cleanup for those items.
See Also
Reference
SimpleSyncServices Class
SimpleSyncServices Members
Microsoft.Synchronization.SimpleProviders Namespace