共用方式為


CDataConnection::Copy

 

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::Copy.

Creates a copy of an existing data connection.

Syntax

  
      CDataConnection& Copy(   
   const CDataConnection & ds    
) throw( );  

Parameters

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

Requirements

Header: atldbcli.h

See Also

CDataConnection Class