Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read from SQL2008 server cluster disk names

Status
Not open for further replies.

Marnix01

MIS
Oct 12, 2010
1
FR
You can use SQLDMO to read databases and server names, is it possible to read the configuration of a SQL2008 server who have several disks in the cluster and named in the setup of the server ?
I need those names in a vb.net application to setup new servers in the servergroup with scripts so the are all the same for instalation.
 
From the looks of this article you shouldn't use that.


I just started using the "Microsoft.SqlServer.Management.Smo" namespace which should be able get you what you need ( ).

This doesn't directly relate to your question but here is an example (although I think this was for SQL2005 so I had to modify it):
Regards,

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top