Back to Devexpress

Session.Disconnect() Method

xpo-devexpress-dot-xpo-dot-session-8a98925f.md

latest966 B
Original Source

Session.Disconnect() Method

Disconnects the session from a database.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public void Disconnect()
vb
Public Sub Disconnect

Remarks

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

See Also

RollbackTransaction()

Session Class

Session Members

DevExpress.Xpo Namespace