Méthode Event.SetEventInfo
Sets the EventInfo object for a pending XEvent object.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public Sub SetEventInfo ( _
eventInfo As EventInfo _
)
'Utilisation
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
)
Paramètres
- 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. |