Example #1
0
        // Method for cleaning up tombstones older than a certain TimeSpan
        internal void CleanupDeletedItems(
            TimeSpan timespan
            )
        {
            InitializeMetadataStore();
            SimpleSyncServices simpleSyncServices = new SimpleSyncServices(_idFormats, _metadataStore, ReplicaId, CultureInfo.CurrentCulture, 0);

            simpleSyncServices.CleanupDeletedItems(timespan);
            CloseMetadataStore();
        }
 // Method for cleaning up tombstones older than a certain TimeSpan
 internal void CleanupDeletedItems(
     TimeSpan timespan
     )
 {
     InitializeMetadataStore();
     SimpleSyncServices simpleSyncServices = new SimpleSyncServices(_idFormats, _metadataStore, ReplicaId, CultureInfo.CurrentCulture, 0);
     simpleSyncServices.CleanupDeletedItems(timespan);
     CloseMetadataStore();
 }