Event.SetEventInfo 메서드
Sets the EventInfo object for a pending XEvent object.
네임스페이스: Microsoft.SqlServer.Management.XEvent
어셈블리: Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)
구문
‘선언
Public Sub SetEventInfo ( _
eventInfo As EventInfo _
)
‘사용 방법
Dim instance As Event
Dim eventInfo As EventInfo
instance.SetEventInfo(eventInfo)
public void SetEventInfo(
EventInfo eventInfo
)
public:
void SetEventInfo(
EventInfo^ eventInfo
)
member SetEventInfo :
eventInfo:EventInfo -> unit
public function SetEventInfo(
eventInfo : EventInfo
)
매개 변수
- eventInfo
유형: Microsoft.SqlServer.Management.XEvent.EventInfo
An EventInfo object.
예외
예외 | 조건 |
---|---|
ArgumentNullException | The input EventInfo object is null. |
XEventException | The Event object is not in the pending state. |