다음을 통해 공유


ViewEvent.Add 메서드

Adds two view events to the event set.

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

구문

‘선언
Public Shared Function Add ( _
    eventLeft As ViewEvent, _
    eventRight As ViewEvent _
) As ViewEventSet
‘사용 방법
Dim eventLeft As ViewEvent 
Dim eventRight As ViewEvent 
Dim returnValue As ViewEventSet 

returnValue = ViewEvent.Add(eventLeft, _
    eventRight)
public static ViewEventSet Add(
    ViewEvent eventLeft,
    ViewEvent eventRight
)
public:
static ViewEventSet^ Add(
    ViewEvent^ eventLeft, 
    ViewEvent^ eventRight
)
static member Add : 
        eventLeft:ViewEvent * 
        eventRight:ViewEvent -> ViewEventSet
public static function Add(
    eventLeft : ViewEvent, 
    eventRight : ViewEvent
) : ViewEventSet

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.ViewEventSet
The event set with added event.

SMO 이벤트 처리

참고 항목

참조

ViewEvent 클래스

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