Share via


GetTrackingOptions Method

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

SqlCeChangeTracking Members

System.Data.SqlServerCe Namespace