ScriptOption.BitwiseOr 運算子
Creates a set of scripting options by performing a bitwise OR operation on two ScriptOption objects.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Operator Or ( _
leftOption As ScriptOption, _
rightOption As ScriptOption _
) As ScriptingOptions
'用途
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 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- leftOption
型別:Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that specifies the script options.
- rightOption
型別:Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that specifies the script options.
傳回值
型別:Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object value that specifies a set of scripting options.