SqlCeChangeTracking Class
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.
Inheritance Hierarchy
System.Object
System.Data.SqlServerCe.SqlCeChangeTracking
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
<SecurityCriticalAttribute(SecurityCriticalScope.Everything)> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class SqlCeChangeTracking _
Implements IDisposable
'Usage
Dim instance As SqlCeChangeTracking
[SecurityCriticalAttribute(SecurityCriticalScope.Everything)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class SqlCeChangeTracking : IDisposable
[SecurityCriticalAttribute(SecurityCriticalScope::Everything)]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class SqlCeChangeTracking sealed : IDisposable
[<SealedAttribute>]
[<SecurityCriticalAttribute(SecurityCriticalScope.Everything)>]
[<PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")>]
type SqlCeChangeTracking =
class
interface IDisposable
end
public final class SqlCeChangeTracking implements IDisposable
The SqlCeChangeTracking type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlCeChangeTracking(SqlCeConnection) | Initializes a new instance of the SqlCeChangeTracking class with a SqlCeConnection. | |
SqlCeChangeTracking(SqlCeTransaction) | Initializes a new instance of the SqlCeChangeTracking class with a SqlCeTransaction. |
Top
Methods
Name | Description | |
---|---|---|
DisableTracking | Disables tracking on the specified table. | |
Dispose() | Releases all resources used by the current instance of the SqlCeChangeTracking class. | |
Dispose(Boolean) | Releases the unmanaged resources used by the SqlCeChangeTracking class and optionally releases the managed resources. | |
EnableTracking | Enables tracking on the specified table. | |
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetLastCommittedCsn | Returns the Commit Sequence Number (CSN) of the last transaction committed for the data source associated with the SqlCeChangeTracking object. | |
GetTrackingOptions | Gets a value that indicates the database operations that are currently being tracked on the specified table. | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
PackTombstoneKey | Converts the row key from the specified table into the format used for the row key in the tombstone table. | |
PurgeTombstoneTableData | Purges tombstone data for the specified table. | |
PurgeTransactionSequenceData | Purges the specified data from the transaction history table. | |
ToString | (inherited from Object) | |
UnpackTombstoneKey | Converts the representation of a row key used in the tombstone table into the column values of the row key used in the specified table. | |
UpgradePublicTracking | Upgrades 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
Thread Safety
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.