Thanks - I'll forward your input to someone else to see if they've thought of it. The programming is still on the testing stage. The code I posted has only been used with a test MSSQL installation on a remote demo server so far.
The idea was to get the basics to work here first, and then take the next step by connecting to the customer's server (with a none default port - not 1433, and with restrictions on which IPs are able to connect. The network part should be in good hands with the customer's network admin. Thanks again!