Freigeben über


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 unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object value that specifies a set of scripting options.

Beispiele

Skripterstellung