Оператор ViewEventSet.Subtraction
Creates a view event set by performing a subtraction operation on a ViewEvent object and a ViewEventSet object.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Shared Operator - ( _
eventSet As ViewEventSet, _
anEvent As ViewEvent _
) As ViewEventSet
'Применение
Dim eventSet As ViewEventSet
Dim anEvent As ViewEvent
Dim returnValue As ViewEventSet
returnValue = (eventSet - anEvent)
public static ViewEventSet operator -(
ViewEventSet eventSet,
ViewEvent anEvent
)
public:
static ViewEventSet^ operator -(
ViewEventSet^ eventSet,
ViewEvent^ anEvent
)
static let inline(-)
eventSet:ViewEventSet *
anEvent:ViewEvent : ViewEventSet
JScript поддерживает использование перегруженных операторов, но не объявление новых.
Параметры
- eventSet
Тип: Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object that specifies the view event set.
- anEvent
Тип: 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.