Session.Events 屬性
Gets the EventCollection of the session.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Event))> _
Public ReadOnly Property Events As EventCollection
Get
'用途
Dim instance As Session
Dim value As EventCollection
value = instance.Events
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Event))]
public EventCollection Events { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(Event))]
public:
property EventCollection^ Events {
EventCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Event))>]
member Events : EventCollection
function get Events () : EventCollection
屬性值
型別:Microsoft.SqlServer.Management.XEvent.EventCollection
The EventCollection object.