Changing the Login / Authentication Mode programmtically via SMO


Here are some instructions how to change the Login / authentication mode via Code. It just uses plain SMO capabilites:


 Change the login mode


 


After this you will have to make sure that the Service is restarted, if you want this to do via SMO look at the following sample. You need to know the ServiceName your Service instance you want to restart is running:


 Restart the service with SMO / WMI


 


-Jens


The other options are mentioned here: http://www.sqlserver2005.de/Screencast/Screencast.aspx?ScreencastId=5

Comments (2)

  1. SEO India says:

    Great Posting

    I want to thanks to u for sharing this types of more important knowledge with us  for via SMO services

    The two powerful online methods for website optimization are SEO and social media optimization India has a lot of potential customers and a combination of SEO and SMO can go a long way in attracting these customers to your websites.

    <a href="http://www.wildnettechnologies.com/">SEO India</a>