asp.net.ph

ConnectionState Enumeration

System.Data Namespace


Returns the current state of the connection to a data source.

This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.

Members


Member Name Description
Broken The object is broken. This can occur only after the connection has been opened. A connection in this state may be closed and then re-opened.
Closed The object is closed.
Connecting The object is connecting.
Executing The object is executing a command.
Fetching Data is being retrieved.
Open The object is open.

Remarks

The ConnectionState values are used by the State property of the OleDbConnection and SqlConnection objects.

NOTE: OleDbConnection and SqlConnection support only the Open and Closed ConnectionState values.

Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph