Method DacSession():getConnectionString() Professional

Retrieves the connection string.

:getConnectionString( [<cDSName>] ) --> cString
A character string with the data source name of a connection must be specified when the DacSession object manages a compound session connected to multiple data sources. The parameter is ignored when the object maintains only a single connection.

The method returns the connection string used for establishing the connection.


A connection string contains the information required for establishing a connection to a data source. The connection string must be passed to the method:new() when the DacSession object is created.


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.