다음을 통해 공유


ViewEventSet.Add 메서드 (ViewEventSet, ViewEvent)

Adds an event to the event set.

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

구문

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

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.ViewEventSet
ViewEventSet

SMO 이벤트 처리

참고 항목

참조

ViewEventSet 클래스

Add 오버로드

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