Re: Change SQL Server Authentication method programmatically
From: Gert E.R. Drapers (GertD_at_SQLDevNet)
Date: 05/31/05
- Next message: sqldummy: "Single login, multiple passwords"
- Previous message: Wayne Snyder: "Re: SQL Server EM/Query Analyzer Access"
- In reply to: Jono Price: "Change SQL Server Authentication method programmatically"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 31 May 2005 10:04:38 +0200
See SQLServer->ServerLoginMode()
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sqldmo/dmoref_m_s_7s6h.asp
GertD@SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2005 All rights reserved.
"Jono Price" <jonathan_daivd_price@hotmail.com> wrote in message
news:42984478$0$542$ed2619ec@ptn-nntp-reader03.plus.net...
> Hi,
>
> Does anyone here know whether it is possible to change the authentication
> method of a SQL server instance programmatically, rather than going
> through enterprise manager.
>
> I am using SQL-DMO (under C#) for some other things, but the documentation
> is so bad that I can't find out whether what I want to do can be done. I
> have also tried googling but came up empty handed.
>
> I hope that someone can help me.
>
> Cheers
> Jono
- Next message: sqldummy: "Single login, multiple passwords"
- Previous message: Wayne Snyder: "Re: SQL Server EM/Query Analyzer Access"
- In reply to: Jono Price: "Change SQL Server Authentication method programmatically"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|