ThanksYOU can either use the SMO classes for this (tell me if you need an additional smaple for this) or change the appropiate value in the registry. See my Screencast for that on my site in the Screencast section.
HTH, Jens K. Suessmeyer.
http://www.sqlserver2005.de|||
This should work in SMO. You will need to restart the server after doing this.
Server s = new Server(); // default instance
s.Settings.LoginMode = ServerLoginMode.Integrated;
s.Settings.Alter();
Mike
|||...and restarting the service: http://msdn2.microsoft.com/en-us/library/ms162139.aspx:-)
-Jens.|||Apparently I missed it. Thanks!
No comments:
Post a Comment