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