Share via


CDataConnection::CDataConnection

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

Instantiates and initializes a CDataConnection object.

Syntax

  
      CDataConnection();   
CDataConnection(  
   const CDataConnection &ds  
);  

Parameters

ds
[in] A reference to an existing data connection.

Remarks

The first override creates a new CDataConnection object with default settings.

The second override creates a new CDataConnection object with settings equivalent to the data connection object you specify.

Requirements

Header: atldbcli.h

See Also

CDataConnection Class