Opens a connection to a database using the previously-specified connection string.
Visual Basic
NotOverridable Public Sub Open() _
Implements IDbConnection.Open
C#
public void Open();
You should explicitly close or dispose of the connection when you are done with it.
ULException class - A SQL error occurred while attempting to open the database.
InvalidOperationException - The connection is already open or the connection string is not specified in ULConnection.ConnectionString.