cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
UNeverNo
Level 6

Basic MSI -> SQL Server -> Authentication Mode

Is it possible - without using DMO/SMO (they are not installed everywhere) - to figure out in which mode a sql server runs?

I mean, IS needs to communicate with that sql server over a certain protocol when running sql scripts, so it should be possible to interact in the same way, right?

I either need to execute
select serverproperty('IsIntegratedSecurity')
and check the return value or just try to connect to my server by using name and password (if this fails it does not run in mixed mode). Unfortunately I only found IS oder MSI IS-functions to achieve that.
Labels (1)
0 Kudos
(1) Reply
timstspry
Level 7

Why not use the SQL Login Dialog which supports both SQL Server Security and Windows Authentication?

Hope this helps.

Tim
0 Kudos