TCP/IP Connection in OLE DB Provider for DB2

This article deals with basic connection string related to TCP/IP Connection in OLE DB Provider for DB2.
  • 2177

 Introduction

The command given below is a connection string used for connecting to TCP/IP protocol. TCP/IP consists of two important protocols: Transmission Control Protocol and Internet Protocol. TCP/IP protocol provides connectivity for connection between different protocols. So in order to implement it use the following connection string.
 
Provider=IBMDADB2;Database=myDataBase;Hostname=user_ServerAddress;Protocol=TCPIP; Port=50000;Uid=Username;Pwd=User_password;

Further Readings


You may also want to read these related articles.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.