Back to Devexpress

Session.IsConnected Property

xpo-devexpress-dot-xpo-dot-session-72786291.md

latest1.3 KB
Original Source

Session.IsConnected Property

Gets whether the session is connected to a database.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
[Browsable(false)]
public bool IsConnected { get; }
vb
<Browsable(False)>
Public ReadOnly Property IsConnected As Boolean

Property Value

TypeDescription
Boolean

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

|

Remarks

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

Connect

Disconnect()

Session Class

Session Members

DevExpress.Xpo Namespace