Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET 2.0 API Reference » SAConnection class

InfoMessage event Next Page

StateChange event


Occurs when the state of the SAConnection object changes.

Syntax

Visual Basic

Public Overrides Event StateChange As StateChangeEventHandler

C#

public event override StateChangeEventHandler StateChange ;

Remarks

The event handler receives an argument of type StateChangeEventArgs with data related to this event. The following StateChangeEventArgs properties provide information specific to this event: CurrentState and OriginalState.

For more information, see the .NET Framework documentation for OleDbConnection.StateChange Event.

Event data
See also