none
How can i do using SMO and C# ? RRS feed

  • Question

  • Hello !

    I have an application in C# and SQL server . Using SMO , how can I get these information :

    1)  IF sql server is installed or no ( in a given PC name or Network path )

    2) IF SQL server is running or no  ( in a given PC name or Network path )

    3)  If is a SQL server or a SQL server Express

    4) If Sql server is installed with a default instance or has a named instance.

    5) Get the Instance name ( if is a named instance )

    6) If a database exist or no in a sql server

    Thank you !

    Saturday, August 15, 2015 5:54 PM

All replies