SqlCeChangeTracking.PurgeTombstoneTableData 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.
[SECURITY CRITICAL]
Purges tombstone data for the specified table.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Sub PurgeTombstoneTableData ( _
tableName As String, _
pType As PurgeType, _
retentionValue As Long _
)
'Usage
Dim instance As SqlCeChangeTracking
Dim tableName As String
Dim pType As PurgeType
Dim retentionValue As Long
instance.PurgeTombstoneTableData(tableName, _
pType, retentionValue)
public void PurgeTombstoneTableData(
string tableName,
PurgeType pType,
long retentionValue
)
public:
void PurgeTombstoneTableData(
String^ tableName,
PurgeType pType,
long long retentionValue
)
member PurgeTombstoneTableData :
tableName:string *
pType:PurgeType *
retentionValue:int64 -> unit
public function PurgeTombstoneTableData(
tableName : String,
pType : PurgeType,
retentionValue : long
)
Parameters
- tableName
Type: System.String
The name of the table for which to delete the tombstone data.
- 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 tombstone data.
- retentionValue
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.