I need to connect to a remote SQL Server, but would like to specify the port used on the local machine running the application.
On Mon, 9 Jan 2006 09:47:16 +0100, Frans Bouma <[EMAIL PROTECTED]> wrote: >> Can anyone tell me how to set the local port when using a >> SqlConnection (not the remote port, as set by "Network >> Address=" in the connection string)? > > If you want to connect to the local service, simply specify (local) as servername. Sqlserver doesn't have a 'local' port or >'remote port'. just 1 port for connections and 1 for a listener. > > FB > >=================================== >This list is hosted by DevelopMentorĀ® http://www.develop.com > >View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com