SMO Namespaces


Updated: August 2, 2016

SQL Server Management Objects (SMO) has various namespaces. The different namespaces represent different areas of functionality within SMO.

In SQL Server 2016, the SMO assemblies are located in the C:\Program Files\Microsoft SQL Server\130\SDK\Assemblies\ folder.

The SMO namespaces are:

Microsoft.SqlServer.Management.SmoContains instance classes, utility classes, and enumerations that are used to programmatically manipulate MicrosoftSQL Server.
Microsoft.SqlServer.Management.CommonContains the classes that are common to Replication Management Objects (RMO) and SMO, such as connection classes.
Microsoft.SqlServer.Management.Smo.AgentContains classes that represent the SQL Server Agent.
Microsoft.SqlServer.Management.Smo.WmiContains classes that represent the WMI Provider.
Microsoft.SqlServer.Management.Smo.RegisteredServersContains classes that represent Registered Server.
Microsoft.SqlServer.Management.Smo.MailContains classes that represent Database Mail.
Microsoft.SqlServer.Management.Smo.BrokerContains classes that represent the Service Broker.

Community Additions