Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Sets the EventInfo object for a pending XEvent object.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public Sub SetEventInfo ( _
eventInfo As EventInfo _
)
'Usage
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
)
Parameters
- eventInfo
Type: Microsoft.SqlServer.Management.XEvent.EventInfo
An EventInfo object.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The input EventInfo object is null. |
| XEventException | The Event object is not in the pending state. |