CDataConnection::Open

Opens a connection to a data source using an initialization string.

HRESULT Open( 
   LPCOLESTR szInitString  
) throw( );

Parameters

  • szInitString
    [in] The initialization string for the data source.

Return Value

A standard HRESULT.

Requirements

Header: atldbcli.h

See Also

Reference

CDataConnection Class

Other Resources

CDataConnection Members