How do I determine SQL Server Authentication Mode?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Given a server name, and before logging on to the server - how can I tell if
it's using Windows Authentication Mode or SQL Server Authentication?

I'm retreiving a list of servers as follows:
Dim dmoApp As SQLDMO.Application, dmoServerList As SQLDMO.NameList, srvrNm
As String
dmoApp = New SQLDMO.Application
dmoServerList = dmoApp.ListAvailableSQLServers
For i As Integer = 1 To dmoServerList.Count
srvrNm = dmoServerList.Item(i)
Next i

Thanks in advance for your help,
Hal Heinrich
VP Technology
Aralan Solutions Inc.
 
I'm not sure if that information is available before you actually
connect to a server -- I don't think it is. However, your best shot at
getting a definitive answer is to post in one of the SQL Server
newsgroups.

--Mary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top