Method DacSession():connect() Professional
Establishes a connection to a server.
:connect() --> self
This method returns the object executing the method.
A connection to a server is automatically established when a DacSession object is created using the method :new(). The :connect() method can be used to re-establish a connection after it is interrupted by a call to :disconnect(). :connect() reuses the connection string passed to the :new() method for subsequent connections.
The method :isConnected()can be used to check whether or not the connection is successfully established.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.