How can i get the list of tables?

Dec 3, 2016 at 3:05 PM
Edited Dec 3, 2016 at 4:03 PM
Hello. There is next situation: i get the connection string from some external source (text file, config file, texbox of GUI, etc ). I need to get the set of tables, that contains in database. How can i do this if i don't know names of tables and columns?

P.S. Sorry for my poor english :)