.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.IsConnected Property

Gets whether the session is connected to a database.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll


public bool IsConnected { get; }
Public ReadOnly Property IsConnected As Boolean

Property Value

Type Description

true if the session is connected to a database; otherwise, false.


To connect a session to a database use the Session.Connect method. To disconnect the session currently connected, use the Session.Disconnect method.

See Also