Export (0) Print
Expand All
Expand Minimize

ScriptingOptions.ChangeTracking Property

Gets or sets whether the ScriptingOptions tracking changes.

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

function get ChangeTracking () : boolean 
function set ChangeTracking (value : boolean)

Property Value

Type: Boolean
True if the ScriptingOptions tracking changes; otherwise, false.

The following code example enables change tracking.

Visual Basic

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


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

Community Additions

© 2014 Microsoft