SqlCeChangeTracking.GetTrackingOptions 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.

Gets a value that indicates the database operations that are currently being tracked on the specified table.

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

public bool GetTrackingOptions(
	string tableName,
	out TrackingOptions trackingOptions


Type: System.String
The name of the table for which to retrieve the operations that are currently being tracked.
Type: System.Data.SqlServerCe.TrackingOptions%
When this method returns, contains a bitwise combination of TrackingOptions values, which indicates the operations that are currently being tracked. This parameter is passed uninitialized.

Return Value

Type: System.Boolean
true if the table is currently being tracked (tracking is enabled); otherwise, false.