Back to Devexpress

Session.AfterConnect Event

xpo-devexpress-dot-xpo-dot-session-2105932b.md

latest1.7 KB
Original Source

Session.AfterConnect Event

Occurs after a connection to a database has been established.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public event SessionManipulationEventHandler AfterConnect
vb
Public Event AfterConnect As SessionManipulationEventHandler

Event Data

The AfterConnect event's data class is SessionManipulationEventArgs. The following properties provide information specific to this event:

PropertyDescription
SessionGets the session currently being processed.

Remarks

The session is connected to a database via the Session.Connect method. After the connection has been established, the AfterConnect event is raised. The event parameter’s SessionManipulationEventArgs.Session property identifies the processed session.

See Also

BeforeConnect

Connect

Disconnect()

Session Class

Session Members

DevExpress.Xpo Namespace