다음을 통해 공유


ViewEventSet.Subtract 메서드

Removes a view event from the event set.

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

구문

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.ViewEventSet
A removed view set from the event set.

SMO 이벤트 처리

참고 항목

참조

ViewEventSet 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스