WinBatch® Technical Support Forum

Archived Boards => COM Automation and dotNet => Topic started by: stanl on January 14, 2014, 07:48:51 AM

Title: 2 CLR Scripts to create linked Servers
Post by: stanl on January 14, 2014, 07:48:51 AM
The scripts only differ in the connection string and the .NET/CLR classes used for a connection and command object. In the script header are a few comments about how to ensure SQL server will correctly create the links. The Access file and server Database are hard-coded from my testing and you may substitute to test.

I hope to post a script that utilizes the SQLClient reader.
Title: Re: 2 CLR Scripts to create linked Servers
Post by: Deana on January 14, 2014, 08:45:54 AM
Thank you for sharing your solutions. I have posted I the tech database for the next user:
http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WinBatch/dotNet/System_Data+CLR~Scripts~to~Create~Linked~Servers~.txt