Export (0) Print
Expand All
Expand Minimize

ScriptingOptions.ChangeTracking Property

Gets or sets the ChangeTracking property value.

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

public bool ChangeTracking { get; set; }

Property Value

Type: System.Boolean
Boolean

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

Community Additions

ADD
Show:
© 2014 Microsoft