SqlCeChangeTracking.PurgeTransactionSequenceData Method

Visual Studio 2010
This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

Purges the specified data from the transaction history table.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public void PurgeTransactionSequenceData(
	PurgeType pType,
	long retentionValue


Type: System.Data.SqlServerCe.PurgeType
One of the values of PurgeType that specifies whether the purge is time based or based on the commit sequence number (CSN) of the last transaction to modify the transaction history data.
Type: System.Int64
A number that specifies the limit up to which rows should be retained. In the case of a time based purge the parameter specifies the number of days from the present date for which to retain transaction history data. In the case of a CSN based purge, the parameter specifies the CSN of the last transaction for which transaction history data should be retained.