I have 2 network cards in my machine:
Network A auto-assigns the IP address.
Network B is where a SQL Server is present.
When I connect using C#, the connection is intermittent. Can I specify my C# code to use a specific network adapter?
SqlConnection myConnection = new SqlConnection(
"user id=username;"
+ "password=password;"
+ "server=serverurl;"
+ "Trusted_Connection=yes;"
+ "database=database;"
+ "connection timeout=30");