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