EventField Constructor (Event, EventColumnInfo)
Creates a new instance of the EventField class from an Event object and an EventColumnInfo object.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
Public Sub New ( _
parent As Event, _
eventColumnInfo As EventColumnInfo _
)
'Uso
Dim parent As Event
Dim eventColumnInfo As EventColumnInfo
Dim instance As New EventField(parent, _
eventColumnInfo)
public EventField(
Event parent,
EventColumnInfo eventColumnInfo
)
public:
EventField(
Event^ parent,
EventColumnInfo^ eventColumnInfo
)
new :
parent:Event *
eventColumnInfo:EventColumnInfo -> EventField
public function EventField(
parent : Event,
eventColumnInfo : EventColumnInfo
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.XEvent.Event
The parent Event object.
- eventColumnInfo
Tipo: Microsoft.SqlServer.Management.XEvent.EventColumnInfo
An EventColumnInfo object.
Excepciones
Excepción | Condición |
---|---|
ArgumentNullException | Parameter parent Event or EventColumnInfo is null. |
XEventException | Parameter EventColumnInfo is invalid. |
NullReferenceException | The EventColumnInfo parent (or grandparent) is null, usually because it is not enumerated correctly. |