SqlAssemblyEvent.BitwiseOr 運算子
Creates an assembly event set by performing a bitwise OR operation on two ServerEvent objects.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Operator Or ( _
eventLeft As SqlAssemblyEvent, _
eventRight As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'用途
Dim eventLeft As SqlAssemblyEvent
Dim eventRight As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet
returnValue = (eventLeft Or eventRight)
public static SqlAssemblyEventSet operator |(
SqlAssemblyEvent eventLeft,
SqlAssemblyEvent eventRight
)
public:
static SqlAssemblyEventSet^ operator |(
SqlAssemblyEvent^ eventLeft,
SqlAssemblyEvent^ eventRight
)
static let inline(|||)
eventLeft:SqlAssemblyEvent *
eventRight:SqlAssemblyEvent : SqlAssemblyEventSet
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- eventLeft
型別:Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
A SqlAssemblyEvent object that specifies the assembly events.
- eventRight
型別:Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
A SqlAssemblyEvent object that specifies the assembly events.
傳回值
型別:Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
A SqlAssemblyEventSet object value that specifies a set of assembly events.