Don't have Telegram yet? Try it now!
http://www.sarabpreet.com/2012/07/sql-server-management-objects-smo/206
SQL Server Management Objects (SMO)