SqlCeChangeTracking.PurgeTombstoneTableData 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 tombstone data for the specified table.

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

public void PurgeTombstoneTableData(
	string tableName,
	PurgeType pType,
	long retentionValue


Type: System.String
The name of the table for which to delete the tombstone data.
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 tombstone data.
Type: System.Int64
A number that specifies the limit up to which tombstone 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 tombstone data. In the case of a CSN based purge, the parameter specifies the CSN of the last transaction for which tombstone data should be retained.