ScriptingOptions.Subtract Method

Removes a ScriptingOption from a ScriptingOptions object.

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

Syntax

'Declaration
Public Shared Function Subtract ( _
    options As ScriptingOptions, _
    scriptOption As ScriptOption _
) As ScriptingOptions
'Usage
Dim options As ScriptingOptions
Dim scriptOption As ScriptOption
Dim returnValue As ScriptingOptions

returnValue = ScriptingOptions.Subtract(options, _
    scriptOption)
public static ScriptingOptions Subtract(
    ScriptingOptions options,
    ScriptOption scriptOption
)
public:
static ScriptingOptions^ Subtract(
    ScriptingOptions^ options, 
    ScriptOption^ scriptOption
)
static member Subtract : 
        options:ScriptingOptions * 
        scriptOption:ScriptOption -> ScriptingOptions 
public static function Subtract(
    options : ScriptingOptions, 
    scriptOption : ScriptOption
) : ScriptingOptions