共用方式為


CDataConnection::Open

 

The latest version of this topic can be found at CDataConnection::Open.

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

Syntax

  
      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

CDataConnection Class