DatabaseConnection.ADOConnection

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  プログラマーのレファレンス > 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


(C) 2018 Altova GmbH