Udostępnij za pośrednictwem


Metoda ViewEventSet.Subtract

Wyświetl zdarzenie usuwa z zestaw zdarzeń.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public Shared Function Subtract ( _
    eventSet As ViewEventSet, _
    anEvent As ViewEvent _
) As ViewEventSet
'Użycie
Dim eventSet As ViewEventSet
Dim anEvent As ViewEvent
Dim returnValue As ViewEventSet

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