Constructeur Event (Session, EventInfo)
Initializes a new instance of the Event class from the parent Package object and an EventInfo object.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public Sub New ( _
parent As Session, _
eventInfo As EventInfo _
)
'Utilisation
Dim parent As Session
Dim eventInfo As EventInfo
Dim instance As New Event(parent, _
eventInfo)
public Event(
Session parent,
EventInfo eventInfo
)
public:
Event(
Session^ parent,
EventInfo^ eventInfo
)
new :
parent:Session *
eventInfo:EventInfo -> Event
public function Event(
parent : Session,
eventInfo : EventInfo
)
Paramètres
- parent
Type : Microsoft.SqlServer.Management.XEvent.Session
The parent Package object.
- eventInfo
Type : Microsoft.SqlServer.Management.XEvent.EventInfo
The EventInfo object that specifies the event.