DatabaseConnection.ADOConnection

www.altova.com Imprimer cette rubrique Page précédente Un niveau supérieur Page suivante

Accueil >  Programmers' Reference > Application API > Interfaces > DatabaseConnection >

DatabaseConnection.ADOConnection

See also

 

Property: ADOConnection as String

 

Description

The property ADOConnection contains a connection string. Either use this property or ODBCConnection or File to refer to a database.

 

Errors

No error codes are returned.

 

Example

 

 Dim objSpyConn As DatabaseConnection

 Set objSpyConn = objSpy.GetDatabaseSettings

 

 Dim objADO As DataLinks

 Set objADO = CreateObject("DataLinks")

 

 If Not (objADO Is Nothing) Then

         Dim objConn As Connection

         Set objConn = objADO.PromptNew

         objSpyConn.ADOConnection = objConn.ConnectionString

 End If


© 2019 Altova GmbH