Partager via


Addition opérateur

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Operator + ( _
    leftOption As ScriptOption, _
    rightOption As ScriptOption _
) As ScriptingOptions
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Paramètres

Valeur de retour

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