Export (0) Print
Expand All

ScriptingOptions.Subtract Method

Subtracts the specified ScriptOption value from the specified ScriptingOptions object.

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

public static ScriptingOptions Subtract(
	ScriptingOptions options,
	ScriptOption scriptOption
)

Parameters

options
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
The ScriptingOptions value to be subtracted from.
scriptOption
Type: Microsoft.SqlServer.Management.Smo.ScriptOption
The ScriptOption value to subtract from the ScriptingOptions object.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions value that contains all of the scripting options specified by the options parameter minus the ScriptOption specified by the scriptOption parameter.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft