SqlCeChangeTracking.PurgeTransactionSequenceData Method

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 Sub PurgeTransactionSequenceData ( _
    pType As PurgeType, _
    retentionValue As Long _
Dim instance As SqlCeChangeTracking
Dim pType As PurgeType
Dim retentionValue As Long

instance.PurgeTransactionSequenceData(pType, _
public void PurgeTransactionSequenceData(
    PurgeType pType,
    long retentionValue
void PurgeTransactionSequenceData(
    PurgeType pType, 
    long long retentionValue
member PurgeTransactionSequenceData : 
        pType:PurgeType * 
        retentionValue:int64 -> unit 
public function PurgeTransactionSequenceData(
    pType : PurgeType, 
    retentionValue : long


  • pType
    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.
  • retentionValue
    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.

See Also


SqlCeChangeTracking Class

System.Data.SqlServerCe Namespace