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