Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Session.IsConnected Property

Gets whether the session is connected to a database.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[Browsable(false)]
public bool IsConnected { get; }

Property Value

Type Description
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