Share via


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.

참고 항목

참조

Session 클래스

Microsoft.SqlServer.Management.XEvent 네임스페이스