BitwiseOr 运算符

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SqlEnum(在 Microsoft.SqlServer.SqlEnum.dll 中)

语法

声明
Public Shared Operator Or ( _
    eventLeft As DatabaseDdlTriggerEvent, _
    eventRight As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
用法
Dim eventLeft As DatabaseDdlTriggerEvent
Dim eventRight As DatabaseDdlTriggerEvent
Dim returnValue As DatabaseDdlTriggerEventSet

returnValue = (eventLeft Or eventRight)
public static DatabaseDdlTriggerEventSet operator |(
    DatabaseDdlTriggerEvent eventLeft,
    DatabaseDdlTriggerEvent eventRight
)
public:
static DatabaseDdlTriggerEventSet^ operator |(
    DatabaseDdlTriggerEvent^ eventLeft, 
    DatabaseDdlTriggerEvent^ eventRight
)
static let inline (|||)
        eventLeft:DatabaseDdlTriggerEvent * 
        eventRight:DatabaseDdlTriggerEvent  : DatabaseDdlTriggerEventSet
JScript 支持使用重载的运算符,但不支持声明新重载运算符。