SQL Server Management Objects (SMO) is a collection of objects that are designed for programming all aspects of managing Microsoft SQL Server. The SMO framework is a set of objects that have been designed for the programmatic management of Microsoft SQL Server and Microsoft Azure SQL Database.
SMO is further categorized into two classes: instance classes and utility classes.
SQL Server objects are represented by instance classes and explicit representation of tasks such as backup and restore, scripting, and object transfers. These are carried out by using the following utility classes:
- The Microsoft.SqlServer.Management.Smo namespace contains classes that represent the core SQL Server Database Engine objects. These include instances, databases, tables, stored procedures, and views.
- The Microsoft.SqlServer.Management.Sdk.Sfc namespace contains a set...