Метод Subtract
Returns a set of database events after removing a database event from the specified event set.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Shared Function Subtract ( _
eventSet As DatabaseEventSet, _
anEvent As DatabaseEvent _
) As DatabaseEventSet
'Применение
Dim eventSet As DatabaseEventSet
Dim anEvent As DatabaseEvent
Dim returnValue As DatabaseEventSet
returnValue = DatabaseEventSet.Subtract(eventSet, _
anEvent)
public static DatabaseEventSet Subtract(
DatabaseEventSet eventSet,
DatabaseEvent anEvent
)
public:
static DatabaseEventSet^ Subtract(
DatabaseEventSet^ eventSet,
DatabaseEvent^ anEvent
)
static member Subtract :
eventSet:DatabaseEventSet *
anEvent:DatabaseEvent -> DatabaseEventSet
public static function Subtract(
eventSet : DatabaseEventSet,
anEvent : DatabaseEvent
) : DatabaseEventSet
Параметры
- eventSet
Тип: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
An DatabaseEventSet object that specifies the database event set from which the event is removed.
- anEvent
Тип: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies the event removed from the database event set.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEventSet object that specifies the database event set after removing the database event.