BitwiseOr 运算符
Creates a database event set by performing a bitwise OR operation on two DatabaseEvent objects.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Shared Operator Or ( _
eventLeft As DatabaseEvent, _
eventRight As DatabaseEvent _
) As DatabaseEventSet
用法
Dim eventLeft As DatabaseEvent
Dim eventRight As DatabaseEvent
Dim returnValue As DatabaseEventSet
returnValue = (eventLeft Or eventRight)
public static DatabaseEventSet operator |(
DatabaseEvent eventLeft,
DatabaseEvent eventRight
)
public:
static DatabaseEventSet^ operator |(
DatabaseEvent^ eventLeft,
DatabaseEvent^ eventRight
)
static let inline (|||)
eventLeft:DatabaseEvent *
eventRight:DatabaseEvent : DatabaseEventSet
JScript 支持使用重载的运算符,但不支持声明新重载运算符。
参数
- eventLeft
类型:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies the database events.
- eventRight
类型:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies the database events.
返回值
类型:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEventSet object value that specifies a set of database events.