Assembly: System.Data (in System.Data.dll)
Some OLE DB providers can check the current state of the connection. For example, if the database server has recycled since you opened your OleDbConnection, the State property will continue to return Open. If you are working with an OLE DB Provider that supports polling for this information on a live connection, calling the method and then checking the State property will tell you that the connection is no longer open. The method relies on functionality in the OLE DB Provider to verify the current state of the connection. To determine if your OLE DB Provider supports this functionality, check the provider's documentation for information on DBPROP_CONNECTIONSTATUS.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.