SqlCeSyncStoreMetadataCleanup.RetentionInDays Property
Gets or sets how old change-tracking metadata must be, in days, for that metadata to be deleted when PerformCleanup is called.
Namespace: Microsoft.Synchronization.Data.SqlServerCe
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in microsoft.synchronization.data.sqlserverce.dll)
Syntax
'Declaration
Public Property RetentionInDays As Integer
'Usage
Dim instance As SqlCeSyncStoreMetadataCleanup
Dim value As Integer
value = instance.RetentionInDays
instance.RetentionInDays = value
public int RetentionInDays { get; set; }
public:
property int RetentionInDays {
int get ();
void set (int value);
}
/** @property */
public int get_RetentionInDays ()
/** @property */
public void set_RetentionInDays (int value)
public function get RetentionInDays () : int
public function set RetentionInDays (value : int)
Property Value
The number of days old that change-tracking metadata must be for that metadata to be deleted.
Remarks
For information about metadata cleanup, see How to: Clean Up Metadata for Collaborative Synchronization (SQL Server).
See Also
Reference
SqlCeSyncStoreMetadataCleanup Class
SqlCeSyncStoreMetadataCleanup Members
Microsoft.Synchronization.Data.SqlServerCe Namespace