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
'Bildirim
Public Shared Operator + ( _
leftOption As ScriptOption, _
rightOption As ScriptOption _
) As ScriptingOptions
'Kullanım
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
- leftOption
Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that specifies the script options.
- rightOption
Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that specifies the script options.
Return Value
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object value that specifies a set of scripting options.