BitwiseOr 运算符
Creates a server 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 ServerEvent, _
eventRight As ServerEvent _
) As ServerEventSet
用法
Dim eventLeft As ServerEvent
Dim eventRight As ServerEvent
Dim returnValue As ServerEventSet
returnValue = (eventLeft Or eventRight)
public static ServerEventSet operator |(
ServerEvent eventLeft,
ServerEvent eventRight
)
public:
static ServerEventSet^ operator |(
ServerEvent^ eventLeft,
ServerEvent^ eventRight
)
static let inline (|||)
eventLeft:ServerEvent *
eventRight:ServerEvent : ServerEventSet
JScript 支持使用重载的运算符,但不支持声明新重载运算符。
参数
- eventLeft
类型:Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent
A ServerEvent object that specifies the server events.
- eventRight
类型:Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent
A ServerEvent object that specifies the server events.
返回值
类型:Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object value that specifies a set of server events.