Freigeben über


ChangeTrackingEnabled-Eigenschaft

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
<DisplayDescriptionKeyAttribute("Table_ChangeTrackingEnabledDesc")> _
<DisplayNameKeyAttribute("Table_ChangeTrackingEnabledName")> _
Property ChangeTrackingEnabled As Boolean
    Get
    Set
'Usage
Dim instance As ITableOptions
Dim value As Boolean

value = instance.ChangeTrackingEnabled

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

Eigenschaftswert

Typ: 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.