Share via


ITableOptions.ChangeTrackingEnabled Property

Gets or sets the Boolean value that determines whether change tracking is enabled on the table.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayNameKeyAttribute("Table_ChangeTrackingEnabledName")> _
<DisplayDescriptionKeyAttribute("Table_ChangeTrackingEnabledDesc")> _
Property ChangeTrackingEnabled As Boolean 
    Get 
    Set
'Usage
Dim instance As ITableOptions 
Dim value As Boolean 

value = instance.ChangeTrackingEnabled

instance.ChangeTrackingEnabled = value
[DisplayNameKeyAttribute("Table_ChangeTrackingEnabledName")]
[DisplayDescriptionKeyAttribute("Table_ChangeTrackingEnabledDesc")]
bool ChangeTrackingEnabled { get; set; }
[DisplayNameKeyAttribute(L"Table_ChangeTrackingEnabledName")]
[DisplayDescriptionKeyAttribute(L"Table_ChangeTrackingEnabledDesc")]
property bool ChangeTrackingEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Table_ChangeTrackingEnabledName")>]
[<DisplayDescriptionKeyAttribute("Table_ChangeTrackingEnabledDesc")>]
abstract ChangeTrackingEnabled : bool with get, set
function get ChangeTrackingEnabled () : boolean 
function set ChangeTrackingEnabled (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that determines whether change tracking is enabled on the table.If True, change tracking is enabled on the table. Otherwise, False.

See Also

Reference

ITableOptions Interface

Microsoft.SqlServer.Management.Smo Namespace