13
Answers

Connection String to Server

Photo of Gustavo

Gustavo

15y
4k
1

Hello:
 
I have 3 servers running on my machine. 1) HPW7V64, 2) HPW7V64\SQLEXPRESS, 3) HPW7V64\IPSQLSERVER.
 
If I use the following lines I can connect to #1:
TestConnection.ConnectionString = @"Server=hpw7v64.ggamvpn.gbridge.net;Database=IPDev...
TestConnection.ConnectionString = @"Server=HPW7V64;Database=IPDev...
 
I would like to connect to #2 & #3 with the VPN. Anyone know how I can pass the correct string?

 

Answers (13)