MSDN Library

SqlCeClientSyncProvider.RetentionInDays Property

Gets or sets the number of days that change-tracking metadata is stored in a SQL Server Compact database.

Namespace:  Microsoft.Synchronization.Data.SqlServerCe
Assembly:  Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)

public int RetentionInDays { get; set; }

Property Value

Type: System.Int32
The number of days that change-tracking metadata should be stored in a SQL Server Compact database.

The minimum value for this property is one day. A value of 0 specifies that metadata should never be cleaned up. During each session, metadata is deleted if it is older than the retention period and if it applies to one of the tables in a group that is currently being synchronized. Metadata for tables outside of the groups that are being synchronized is not deleted.

Show:
© 2016 Microsoft