What is SMO?
SMO (SQL Server Management Objects)
SQL Server Management Objects (SMO) represents an API for database programmers to develop and build application or code scripts related with Microsoft SQL Server data platform tools.
SMO supplies database developers or coders the tools they require to connect, manage, create database instances an database objects.
SQL Server tutorial shows how to code using SQL Server Management Objects SMO to Generate Database Table Scripts for tables created in a selected database on a target SQL Server instance.