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