Share via


Event.EventFields Property

Gets the EventFieldCollection.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(EventField))> _
Public ReadOnly Property EventFields As EventFieldCollection 
    Get
'Usage
Dim instance As Event 
Dim value As EventFieldCollection 

value = instance.EventFields
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(EventField))]
public EventFieldCollection EventFields { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(EventField))]
public:
property EventFieldCollection^ EventFields {
    EventFieldCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(EventField))>]
member EventFields : EventFieldCollection
function get EventFields () : EventFieldCollection

Property Value

Type: Microsoft.SqlServer.Management.XEvent.EventFieldCollection
A collection of EventField objects.

See Also

Reference

Event Class

Microsoft.SqlServer.Management.XEvent Namespace