Export (0) Print
Expand All

SqlCeChangeTracking Class

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.
[SECURITY CRITICAL]

Provides methods that can be used to track changes to tables in a SQL Server Compact database.

System::Object
  System.Data.SqlServerCe::SqlCeChangeTracking

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

[SecurityCriticalAttribute(SecurityCriticalScope::Everything)]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class SqlCeChangeTracking sealed : IDisposable

The SqlCeChangeTracking type exposes the following members.

  NameDescription
Public methodSqlCeChangeTracking(SqlCeConnection)Initializes a new instance of the SqlCeChangeTracking class with a SqlCeConnection.
Public methodSqlCeChangeTracking(SqlCeTransaction)Initializes a new instance of the SqlCeChangeTracking class with a SqlCeTransaction.
Top

  NameDescription
Public methodDisableTrackingDisables tracking on the specified table.
Public methodDispose()Releases all resources used by the current instance of the SqlCeChangeTracking class.
Public methodDispose(Boolean)Releases the unmanaged resources used by the SqlCeChangeTracking class and optionally releases the managed resources.
Public methodEnableTrackingEnables tracking on the specified table.
Public methodEquals (inherited from Object)
Protected methodFinalize (inherited from Object)
Public methodGetHashCode (inherited from Object)
Public methodGetLastCommittedCsnReturns the Commit Sequence Number (CSN) of the last transaction committed for the data source associated with the SqlCeChangeTracking object.
Public methodGetTrackingOptionsGets a value that indicates the database operations that are currently being tracked on the specified table.
Public methodGetType (inherited from Object)
Protected methodMemberwiseClone (inherited from Object)
Public methodPackTombstoneKeyConverts the row key from the specified table into the format used for the row key in the tombstone table.
Public methodPurgeTombstoneTableDataPurges tombstone data for the specified table.
Public methodPurgeTransactionSequenceDataPurges the specified data from the transaction history table.
Public methodToString (inherited from Object)
Public methodUnpackTombstoneKeyConverts the representation of a row key used in the tombstone table into the column values of the row key used in the specified table.
Public methodStatic memberUpgradePublicTrackingUpgrades tracking metadata in a SQL Server Compact SP2 database, on which tracking has been enabled, for use by Microsoft Sync Framework Service Pack 1 (SP1) and later versions of Sync Framework.
Top

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft