ScriptingOptions.Subtract Method (ScriptingOptions, ScriptOption)

 

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 T:Microsoft.AnalysisServices.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.

Return to top
Show: