Share via


ScriptingOptions Constructors

Definition

Overloads

ScriptingOptions()

Default constructor. Sets all default options.

ScriptingOptions(ScriptingOptions)

Copy constructor.

ScriptingOptions(ScriptOption)

Creates a ScriptingOptions object with a single option set.

ScriptingOptions(SqlSmoObject)

Constructs a ScriptingOptions object using target settings from the parent object's server

ScriptingOptions()

Default constructor. Sets all default options.

public ScriptingOptions ();
Public Sub New ()

Applies to

ScriptingOptions(ScriptingOptions)

Copy constructor.

public ScriptingOptions (Microsoft.SqlServer.Management.Smo.ScriptingOptions so);
new Microsoft.SqlServer.Management.Smo.ScriptingOptions : Microsoft.SqlServer.Management.Smo.ScriptingOptions -> Microsoft.SqlServer.Management.Smo.ScriptingOptions
Public Sub New (so As ScriptingOptions)

Parameters

Applies to

ScriptingOptions(ScriptOption)

Creates a ScriptingOptions object with a single option set.

public ScriptingOptions (Microsoft.SqlServer.Management.Smo.ScriptOption so);
new Microsoft.SqlServer.Management.Smo.ScriptingOptions : Microsoft.SqlServer.Management.Smo.ScriptOption -> Microsoft.SqlServer.Management.Smo.ScriptingOptions
Public Sub New (so As ScriptOption)

Parameters

so
ScriptOption

An option to set

Applies to

ScriptingOptions(SqlSmoObject)

Constructs a ScriptingOptions object using target settings from the parent object's server

public ScriptingOptions (Microsoft.SqlServer.Management.Smo.SqlSmoObject parent);
new Microsoft.SqlServer.Management.Smo.ScriptingOptions : Microsoft.SqlServer.Management.Smo.SqlSmoObject -> Microsoft.SqlServer.Management.Smo.ScriptingOptions
Public Sub New (parent As SqlSmoObject)

Parameters

parent
SqlSmoObject

Applies to