Export (0) Print
Expand All

SqlCeClientSyncProvider.RetentionInDays Property

Synchronization Services - ADO.NET 1.0 SP1

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

Namespace: Microsoft.Synchronization.Data.SqlServerCe
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in microsoft.synchronization.data.sqlserverce.dll)

public int RetentionInDays { get; set; }
/** @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 that change-tracking metadata should be stored in a SQL Server Compact 3.5 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:
© 2014 Microsoft