Session.AddEvent 메서드 (EventInfo)
Adds a new Event object to the session.
네임스페이스: Microsoft.SqlServer.Management.XEvent
어셈블리: Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)
구문
‘선언
Public Function AddEvent ( _
eventInfo As EventInfo _
) As Event
‘사용 방법
Dim instance As Session
Dim eventInfo As EventInfo
Dim returnValue As Event
returnValue = instance.AddEvent(eventInfo)
public Event AddEvent(
EventInfo eventInfo
)
public:
Event^ AddEvent(
EventInfo^ eventInfo
)
member AddEvent :
eventInfo:EventInfo -> Event
public function AddEvent(
eventInfo : EventInfo
) : Event
매개 변수
- eventInfo
유형: Microsoft.SqlServer.Management.XEvent.EventInfo
An EventInfo object.
반환 값
유형: Microsoft.SqlServer.Management.XEvent.Event
The new Event object.