Addition opérateur
Creates a set of scripting options by performing an addition operation on a ScriptingOptions object and a ScriptOption object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Operator + ( _
options As ScriptingOptions, _
scriptOption As ScriptOption _
) As ScriptingOptions
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- options
Type : Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that specifies the scripting options.
- scriptOption
Type : Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
A ScriptOption object that specifies the script option.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object value that specifies a set of scripting options after the addition.