Event.SetEventInfo Método
Sets the EventInfo object for a pending XEvent object.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
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.
Excepciones
Excepción | Condición |
---|---|
ArgumentNullException | The input EventInfo object is null. |
XEventException | The Event object is not in the pending state. |