IDatabaseOptions.ChangeTrackingEnabled Property

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

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Database_ChangeTrackingEnabledDesc")> _
<DisplayNameKeyAttribute("Database_ChangeTrackingEnabledName")> _
Property ChangeTrackingEnabled As Boolean
    Get
    Set
'Usage
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)

Property Value

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.