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

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)

Syntax

'Declaration
Public Function GetTrackingOptions ( _
    tableName As String, _
    <OutAttribute> ByRef trackingOptions As TrackingOptions _
) As Boolean
'Usage
Dim instance As SqlCeChangeTracking
Dim tableName As String
Dim trackingOptions As TrackingOptions
Dim returnValue As Boolean

returnValue = instance.GetTrackingOptions(tableName, _
    trackingOptions)
public bool GetTrackingOptions(
    string tableName,
    out TrackingOptions trackingOptions
)
public:
bool GetTrackingOptions(
    String^ tableName, 
    [OutAttribute] TrackingOptions% trackingOptions
)
member GetTrackingOptions : 
        tableName:string * 
        trackingOptions:TrackingOptions byref -> bool 
public function GetTrackingOptions(
    tableName : String, 
    trackingOptions : TrackingOptions
) : boolean

Parameters

  • tableName
    Type: System.String
    The name of the table for which to retrieve the operations that are currently being tracked.

Return Value

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

See Also

Reference

SqlCeChangeTracking Class

System.Data.SqlServerCe Namespace