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
    Get
    Set
'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);
}
member RetentionInDays : int with get, set
function get RetentionInDays () : int
function set RetentionInDays (value : int)

Property Value

Type: System.Int32
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

Microsoft.Synchronization.Data.SqlServerCe Namespace