Share via


Propriété ChangeTrackingEnabled

Gets or sets a value indicating whether change tracking is enabled.

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

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Database_ChangeTrackingEnabledDesc")> _
<DisplayNameKeyAttribute("Database_ChangeTrackingEnabledName")> _
Property ChangeTrackingEnabled As Boolean
    Get
    Set
'Utilisation
Dim instance As IDatabaseOptions
Dim value As Boolean

value = instance.ChangeTrackingEnabled

instance.ChangeTrackingEnabled = value
[DisplayDescriptionKeyAttribute("Database_ChangeTrackingEnabledDesc")]
[DisplayNameKeyAttribute("Database_ChangeTrackingEnabledName")]
bool ChangeTrackingEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_ChangeTrackingEnabledDesc")]
[DisplayNameKeyAttribute(L"Database_ChangeTrackingEnabledName")]
property bool ChangeTrackingEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("Database_ChangeTrackingEnabledDesc")>]
[<DisplayNameKeyAttribute("Database_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 specifies whether change tracking information is supported by the database.
If True, change tracking is enabled.
If False (default), change tracking information is not enabled.