Compartir a través de


Subtract Método

Returns a server event set after subtracting a server event from the specified event set.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Shared Function Subtract ( _
    eventSet As ServerEventSet, _
    anEvent As ServerEvent _
) As ServerEventSet
'Uso
Dim eventSet As ServerEventSet
Dim anEvent As ServerEvent
Dim returnValue As ServerEventSet

returnValue = ServerEventSet.Subtract(eventSet, _
    anEvent)
public static ServerEventSet Subtract(
    ServerEventSet eventSet,
    ServerEvent anEvent
)
public:
static ServerEventSet^ Subtract(
    ServerEventSet^ eventSet, 
    ServerEvent^ anEvent
)
static member Subtract : 
        eventSet:ServerEventSet * 
        anEvent:ServerEvent -> ServerEventSet 
public static function Subtract(
    eventSet : ServerEventSet, 
    anEvent : ServerEvent
) : ServerEventSet

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object value that specifies a set of server events after subtracting the specified event.