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