Share via


XEStore.Sessions Property

Gets the sessions collection.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Session))> _
Public ReadOnly Property Sessions As SessionCollection 
    Get
'Usage
Dim instance As XEStore 
Dim value As SessionCollection 

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

Property Value

Type: Microsoft.SqlServer.Management.XEvent.SessionCollection
Returns a SessionCollection.

See Also

Reference

XEStore Class

Microsoft.SqlServer.Management.XEvent Namespace