다음을 통해 공유


Subtract 메서드

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Shared Function Subtract ( _
    eventSet As ServerEventSet, _
    anEvent As ServerEvent _
) As ServerEventSet
‘사용 방법
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

매개 변수

반환 값

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