Оператор 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.