Delen via


ScriptOption.Addition Operator

Creates a set of scripting options by performing an addition operation on two ScriptOption objects.

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

Syntax

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

returnValue = (leftOption + rightOption)
public static ScriptingOptions operator +(
    ScriptOption leftOption,
    ScriptOption rightOption
)
public:
static ScriptingOptions^ operator +(
    ScriptOption^ leftOption, 
    ScriptOption^ rightOption
)
static let inline (+)
        leftOption:ScriptOption * 
        rightOption: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.

Examples

Scripting