GetCurrentConnection

BSTR GetCurrentConnection ();

 

Available (from release):

 

stOCX (V3-0)

 

Return Value:

 

The Connection String of the Data Source that the control is currently connected to.

 

Remarks:

 

Call the function to obtain the Connection String for the controls current Data Source.

 

Note:  If the function fails or the control is not connected to a Data Source, then an empty string will be returned.