The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.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.v19.2.dll

Declaration

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

Property Value

Type Description
Boolean

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

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