Метод Subtract
Returns an SQL assembly event set after subtracting a new SQL assembly event from the specified event set.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Shared Function Subtract ( _
eventSet As SqlAssemblyEventSet, _
anEvent As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Применение
Dim eventSet As SqlAssemblyEventSet
Dim anEvent As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet
returnValue = SqlAssemblyEventSet.Subtract(eventSet, _
anEvent)
public static SqlAssemblyEventSet Subtract(
SqlAssemblyEventSet eventSet,
SqlAssemblyEvent anEvent
)
public:
static SqlAssemblyEventSet^ Subtract(
SqlAssemblyEventSet^ eventSet,
SqlAssemblyEvent^ anEvent
)
static member Subtract :
eventSet:SqlAssemblyEventSet *
anEvent:SqlAssemblyEvent -> SqlAssemblyEventSet
public static function Subtract(
eventSet : SqlAssemblyEventSet,
anEvent : SqlAssemblyEvent
) : SqlAssemblyEventSet
Параметры
- eventSet
Тип: Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEventSet
An SqlAssemblyEventSet object that specifies the assembly event set from which to subtract the SqlAssemblyEvent object.
- anEvent
Тип: Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEvent
An SqlAssemblyEvent object that specifies the assembly event to subtract from the SqlAssemblyEventSet object.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEventSet
An SqlAssemblyEventSet object value that specifies the set of SQL assembly events after the event has been subtracted.