ScriptingOptions.ChangeTracking ScriptingOptions.ChangeTracking ScriptingOptions.ChangeTracking Property

Definition

Gets or sets whether the ScriptingOptions tracking changes.

public:
 property bool ChangeTracking { bool get(); void set(bool value); };
public bool ChangeTracking { get; set; }
Public Property ChangeTracking As Boolean
Property Value

True if the ScriptingOptions tracking changes; otherwise, false.

Examples

The following code example enables change tracking.

Visual Basic

Dim scOps As New ScriptingOptions()  
scOps.ChangeTracking = true  

PowerShell

$scOps = New-Object Microsoft.SqlServer.Management.Smo.ScriptingOptions  
$scOps.ChangeTracking = $TRUE  

Applies to