Export (0) Print
Expand All

ScriptingOptions.Add Method (ScriptingOptions, ScriptOption)

Adds the specified ScriptOption and ScriptingOptions objects to the ScriptingOptions.

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

public static ScriptingOptions Add(
	ScriptingOptions options,
	ScriptOption scriptOption
)

Parameters

options
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptOption object that is to be added to the ScriptingOptions object.
scriptOption
Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptingOptions object that is to be added to the ScriptingOptions object.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object that contains the added ScriptOption and ScriptingOptions objects.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft