Поделиться через


Свойство ChangeTrackingEnabled

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayDescriptionKeyAttribute("Database_ChangeTrackingEnabledDesc")> _
<DisplayNameKeyAttribute("Database_ChangeTrackingEnabledName")> _
Property ChangeTrackingEnabled As Boolean
    Get
    Set
'Применение
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)

Значение свойства

Тип: 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.