BitwiseOr 运算符

Creates a server trace event set by performing a bitwise OR operation on two ServerTraceEvent objects.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Shared Operator Or ( _
    eventLeft As ServerTraceEvent, _
    eventRight As ServerTraceEvent _
) As ServerTraceEventSet
用法
Dim eventLeft As ServerTraceEvent
Dim eventRight As ServerTraceEvent
Dim returnValue As ServerTraceEventSet

returnValue = (eventLeft Or eventRight)
public static ServerTraceEventSet operator |(
    ServerTraceEvent eventLeft,
    ServerTraceEvent eventRight
)
public:
static ServerTraceEventSet^ operator |(
    ServerTraceEvent^ eventLeft, 
    ServerTraceEvent^ eventRight
)
static let inline (|||)
        eventLeft:ServerTraceEvent * 
        eventRight:ServerTraceEvent  : ServerTraceEventSet
JScript 支持使用重载的运算符,但不支持声明新重载运算符。

参数

返回值

类型:Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEventSet
A ServerTraceEventSet object value that specifies a set of server trace events.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。