Partager via


Propriété ChangeTrackingEnabled

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Table_ChangeTrackingEnabledDesc")> _
<DisplayNameKeyAttribute("Table_ChangeTrackingEnabledName")> _
Property ChangeTrackingEnabled As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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.