Operador ScriptOption.BitwiseOr
Creates a set of scripting options by performing a bitwise OR operation on two ScriptOption objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Operator Or ( _
leftOption As ScriptOption, _
rightOption As ScriptOption _
) As ScriptingOptions
'Uso
Dim leftOption As ScriptOption
Dim rightOption As ScriptOption
Dim returnValue As ScriptingOptions
returnValue = (leftOption Or 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 dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- leftOption
Tipo: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that specifies the script options.
- rightOption
Tipo: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that specifies the script options.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object value that specifies a set of scripting options.