GetConnection 

Syntax:             BSTR GetConnection(LPCTSTR sConnName);

Return Value:    BSTR string object containing the connection string of the specified connection.

Parameter:

                        sConnName       Specifies name of the connection in question.

Remarks:

                       This method returns the connection string of the connection specified in the sConnName parameter.

Example:

For Sample of GetConnection() usage see the Example of SetConnection()