Page 1 of 1

UniDAC, SQL Server 2012, "TCP dynamic ports"

Posted: Thu 28 Aug 2014 15:30
by RadoslawKokoc
Hi,

I would like to ask if UniDAC can connect to SQL Server 2012 using a method of "TCP dynamic ports"?



Best regards,
Radosław Kokoć

Re: UniDAC, SQL Server 2012, "TCP dynamic ports"

Posted: Tue 02 Sep 2014 13:00
by azyk
To connect to SQL Server using dynamic port, before connecting, set the TUniConnection.Port property to the number of the dynamic port you will be using. For example:

Code: Select all

UniConnection.Port := 18888;

Re: UniDAC, SQL Server 2012, "TCP dynamic ports"

Posted: Tue 02 Sep 2014 19:33
by RadoslawKokoc
Thank you very much azyk!
Radek

Re: UniDAC, SQL Server 2012, "TCP dynamic ports"

Posted: Thu 04 Sep 2014 06:11
by azyk
Feel free to contact us if you have any further questions.