You cna use SQL-DMO but there's some problems b/c if you don't have SP3
installed onthe machine you are running from it may throw an exception when
you try to list them. This will work http://www.codeproject.com/cs/database/LocatingSql.asp and it's very easy to
implement and NO SQL DMO!