ServerDdlTriggerEventSet.Subtract Método
Returns a set of server DDL trigger events after subtracting a DDL trigger event from the specified set of event set.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)
Sintaxis
'Declaración
Public Shared Function Subtract ( _
eventSet As ServerDdlTriggerEventSet, _
anEvent As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Uso
Dim eventSet As ServerDdlTriggerEventSet
Dim anEvent As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet
returnValue = ServerDdlTriggerEventSet.Subtract(eventSet, _
anEvent)
public static ServerDdlTriggerEventSet Subtract(
ServerDdlTriggerEventSet eventSet,
ServerDdlTriggerEvent anEvent
)
public:
static ServerDdlTriggerEventSet^ Subtract(
ServerDdlTriggerEventSet^ eventSet,
ServerDdlTriggerEvent^ anEvent
)
static member Subtract :
eventSet:ServerDdlTriggerEventSet *
anEvent:ServerDdlTriggerEvent -> ServerDdlTriggerEventSet
public static function Subtract(
eventSet : ServerDdlTriggerEventSet,
anEvent : ServerDdlTriggerEvent
) : ServerDdlTriggerEventSet
Parámetros
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object that specifies the server DDL trigger event set.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the server DDL trigger events.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL trigger events after the specified event has been subtracted.
Ejemplos
Vea también
Referencia
ServerDdlTriggerEventSet Clase
Espacio de nombres Microsoft.SqlServer.Management.Smo