OLE DB Datenquellen für DB2 (bereitgestellt von Microsoft)
Für TCP/IP Verbindungen:
oConn.Open = "Provider=DB2OLEDB;" &_
"Network Transport Library=TCPIP;" &_
"Network Address=xxx.xxx.xxx.xxx;" & _
"Initial Catalog=MyCatalog;" &_
"Package Collection=MyPackageCollection;" &_
"Default Schema=MySchema;" & _
"User ID=MyUsername;" & _
"Password=MyPassword"
For APPC connections
oConn.Open = "Provider=DB2OLEDB;" &_
"APPC Local LU Alias=MyLocalLUAlias;" &_
"APPC Remote LU Alias=MyRemoteLUAlias;" &_
"Initial Catalog=MyCatalog;" &_
"Package Collection=MyPackageCollection;" &_
"Default Schema=MySchema;" & _
"User ID=MyUsername;" & _
"Password=MyPassword"
Für weitere Informationen besuchen Sie folgende
Seiten:
ConnectionString
Property
Q218590
Um sich Microsofts Knowledgebase-Einträge zu OLE DB Datenquellen für DB2 anzusehen, klicken Sie hier.