共用方式為


Event.EventFields 屬性

Gets the EventFieldCollection.

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(EventField))> _
Public ReadOnly Property EventFields As EventFieldCollection 
    Get
'用途
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

屬性值

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

請參閱

參考

Event 類別

Microsoft.SqlServer.Management.XEvent 命名空間