Método Event.SetEventInfo
Sets the EventInfo object for a pending XEvent object.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Public Sub SetEventInfo ( _
eventInfo As EventInfo _
)
'Uso
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
)
Parâmetros
- eventInfo
Tipo: Microsoft.SqlServer.Management.XEvent.EventInfo
An EventInfo object.
Exceções
Exceção | Condição |
---|---|
ArgumentNullException | The input EventInfo object is null. |
XEventException | The Event object is not in the pending state. |