Freigeben über


XEStore.Sessions-Eigenschaft

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

Eigenschaftswert

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

Siehe auch

Verweis

XEStore Klasse

Microsoft.SqlServer.Management.XEvent-Namespace