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