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 支持使用重载的运算符,但不支持声明新重载运算符。

参数

返回值

类型:Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of service queue events.