مشاركة عبر


Event Constructor (Session, EventInfo)

Initializes a new instance of the Event class from the parent Package object and an EventInfo object.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
Public Sub New ( _
    parent As Session, _
    eventInfo As EventInfo _
)
'Usage
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
)

Parameters

See Also

Reference

Event Class

Event Overload

Microsoft.SqlServer.Management.XEvent Namespace