Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
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)

public bool ChangeTracking { get; set; }

Property Value

Type: System.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
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft