ScriptingOptions.Addition Operator

Creates a set of scripting options by performing an addition operation on a ScriptingOptions object and a ScriptOption object.

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

Syntax

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

returnValue = (options + scriptOption)
public static ScriptingOptions operator +(
    ScriptingOptions options,
    ScriptOption scriptOption
)
public:
static ScriptingOptions^ operator +(
    ScriptingOptions^ options, 
    ScriptOption^ scriptOption
)
static let inline (+)
        options:ScriptingOptions * 
        scriptOption:ScriptOption  : ScriptingOptions
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object value that specifies a set of scripting options after the addition.

Examples

Scripting