Session.IsRunning Property

Gets a value indicating whether this session is running.

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

Syntax

'Declaration
<SfcPropertyAttribute(Data := True)> _
Public Property IsRunning As Boolean 
    Get 
    Private Set
'Usage
Dim instance As Session 
Dim value As Boolean 

value = instance.IsRunning
[SfcPropertyAttribute(Data = true)]
public bool IsRunning { get; private set; }
[SfcPropertyAttribute(Data = true)]
public:
property bool IsRunning {
    bool get ();
    private: void set (bool value);
}
[<SfcPropertyAttribute(Data = true)>]
member IsRunning : bool with get, private set
function get IsRunning () : boolean 
private function set IsRunning (value : boolean)

Property Value

Type: System.Boolean
Returns True if the session is running, otherwise False.

See Also

Reference

Session Class

Microsoft.SqlServer.Management.XEvent Namespace