Compartilhar via


Propriedade ChangeTrackingEnabled

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<DisplayDescriptionKeyAttribute("Table_ChangeTrackingEnabledDesc")> _
<DisplayNameKeyAttribute("Table_ChangeTrackingEnabledName")> _
Property ChangeTrackingEnabled As Boolean
    Get
    Set
'Uso
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)

Valor da propriedade

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