Event 생성자 (Session, EventInfo)
Initializes a new instance of the Event class from the parent Package object and an EventInfo object.
네임스페이스: Microsoft.SqlServer.Management.XEvent
어셈블리: Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)
구문
‘선언
Public Sub New ( _
parent As Session, _
eventInfo As EventInfo _
)
‘사용 방법
Dim parent As Session
Dim eventInfo As EventInfo
Dim instance As New Event(parent, _
eventInfo)
public Event(
Session parent,
EventInfo eventInfo
)
public:
Event(
Session^ parent,
EventInfo^ eventInfo
)
new :
parent:Session *
eventInfo:EventInfo -> Event
public function Event(
parent : Session,
eventInfo : EventInfo
)
매개 변수
- parent
유형: Microsoft.SqlServer.Management.XEvent.Session
The parent Package object.
- eventInfo
유형: Microsoft.SqlServer.Management.XEvent.EventInfo
The EventInfo object that specifies the event.