Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //find Server name
- Console.WriteLine("Server: " + srv.Name);
- //Get database name
- Console.WriteLine("first DB name: " + srv.Databases[0].Name);
- //Get database count
- Console.WriteLine("first DB name: " + srv.Databases.Count);
Add Comment
Please, Sign In to add comment