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