Compartir a través de


ChangeTrackingEnabled Propiedad

Gets or sets a property value that specifies whether the CHANGE_TRACKING_VALUE option is enabled

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public Property ChangeTrackingEnabled As Boolean
    Get
    Set
'Uso
Dim instance As Database
Dim value As Boolean

value = instance.ChangeTrackingEnabled

instance.ChangeTrackingEnabled = value
[SfcPropertyAttribute]
public bool ChangeTrackingEnabled { get; set; }
[SfcPropertyAttribute]
public:
virtual property bool ChangeTrackingEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute>]
abstract ChangeTrackingEnabled : bool with get, set
[<SfcPropertyAttribute>]
override ChangeTrackingEnabled : bool with get, set
final function get ChangeTrackingEnabled () : boolean
final function set ChangeTrackingEnabled (value : boolean)

Valor de la propiedad

Tipo: System. . :: . .Boolean
A Boolean value that specifies whether change tracking information is saved .

Implementa

IDatabaseOptions. . :: . .ChangeTrackingEnabled

Notas

Use to enable or disable change tracking for the database. To enable change tracking, you must have permission to modify the database. Setting ChangeTrackingEnabled to True sets a database option that allows change tracking to be enabled on individual tables.