.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

Session.Disconnect() Method

Disconnects the session from a database.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll


public void Disconnect()
Public Sub Disconnect


The Disconnect method rolls back an existing transaction and closes the connection created by the Session.Connect method.

See Also