Condividi tramite


Proprietà IDatabaseOptions.ChangeTrackingEnabled

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

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

Valore proprietà

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

Vedere anche

Riferimento

IDatabaseOptions Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Smo