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