共用方式為


XEStore.RunningSessionCount 屬性

Gets the running session count.

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

語法

'宣告
<SfcPropertyAttribute(Data := True)> _
Public ReadOnly Property RunningSessionCount As Integer 
    Get
'用途
Dim instance As XEStore 
Dim value As Integer 

value = instance.RunningSessionCount
[SfcPropertyAttribute(Data = true)]
public int RunningSessionCount { get; }
[SfcPropertyAttribute(Data = true)]
public:
property int RunningSessionCount {
    int get ();
}
[<SfcPropertyAttribute(Data = true)>]
member RunningSessionCount : int
function get RunningSessionCount () : int

屬性值

型別:System.Int32
An integer value that specifies the running session count.

請參閱

參考

XEStore 類別

Microsoft.SqlServer.Management.XEvent 命名空間