<docbook><section><title>OPLConnection</title><bridgehead class="http://www.w3.org/1999/xhtml:h3">OPLConnect</bridgehead>
<para>Represents an open connection to a data source.</para><programlisting>public sealed class OPLConnection : Component, ICloneable, IDbConnection
</programlisting><para> </para><bridgehead class="http://www.w3.org/1999/xhtml:h4">Constructors</bridgehead>
<programlisting>public OPLConnection();
</programlisting><para> Initializes a new instance of the OPLConnect class.</para><programlisting>public OPLConnection(string connectionString);
</programlisting><para> Initializes a new instance of the OPLConnection class with the specified connection string.</para><bridgehead class="http://www.w3.org/1999/xhtml:h4">Methods</bridgehead>
<programlisting>protected override void Dispose (bool disposing);
</programlisting><para> Releases the resources used by the OPLConnection.</para><bridgehead class="http://www.w3.org/1999/xhtml:h4">Events</bridgehead>
<programlisting>public event StateChangeEventHandler StateChange;
</programlisting><para> Occurs when the state of the connection changes.</para><bridgehead class="http://www.w3.org/1999/xhtml:h4">Remarks</bridgehead>
<para>The StateChange event is raised immediately after the State changes from Closed to Opened, or from Opened to Closed.</para><programlisting>public event OPLInfoMessageEventHandler InfoMessage;
</programlisting><para> Returns warning messages from the DBMS.</para><programlisting>public delegate void OPLInfoMessageEventHandler (object sender, OPLInfoMessageEventArgs e)
</programlisting><para> </para><programlisting>class OPLInfoMessageEventArgs;
</programlisting></section></docbook>