共用方式為


XEStore.Sessions 屬性

Gets the sessions collection.

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

語法

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

屬性值

型別:Microsoft.SqlServer.Management.XEvent.SessionCollection
Returns a SessionCollection.

請參閱

參考

XEStore 類別

Microsoft.SqlServer.Management.XEvent 命名空間