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.