| title | SMO Namespaces | Microsoft Docs | ||||
|---|---|---|---|---|---|
| ms.custom | |||||
| ms.date | 08/02/2016 | ||||
| ms.prod | sql | ||||
| ms.prod_service | database-engine | ||||
| ms.reviewer | |||||
| ms.technology | |||||
| ms.topic | reference | ||||
| helpviewer_keywords |
|
||||
| ms.assetid | 7bfabe4d-9f4c-4bc9-b998-93bd2b50ee8a | ||||
| author | markingmyname | ||||
| ms.author | maghan | ||||
| monikerRange | =azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current |
[!INCLUDEappliesto-ss-asdb-asdw-xxx-md]
[!INCLUDEssNoVersion] Management Objects (SMO) has various namespaces. The different namespaces represent different areas of functionality within SMO.
In [!INCLUDEssCurrent], the SMO assemblies are located in the C:\Program Files\Microsoft SQL Server\130\SDK\Assemblies folder.
The SMO namespaces are:
| Class | Function |
|---|---|
| xref:Microsoft.SqlServer.Management.Smo | Contains instance classes, utility classes, and enumerations that are used to programmatically manipulate [!INCLUDEmsCoName][!INCLUDEssNoVersion]. |
| xref:Microsoft.SqlServer.Management.Common | Contains the classes that are common to Replication Management Objects (RMO) and SMO, such as connection classes. |
| xref:Microsoft.SqlServer.Management.Smo.Agent | Contains classes that represent the [!INCLUDEssNoVersion] Agent. |
| xref:Microsoft.SqlServer.Management.Smo.Wmi | Contains classes that represent the WMI Provider. |
| xref:Microsoft.SqlServer.Management.Smo.RegisteredServers | Contains classes that represent Registered Server. |
| xref:Microsoft.SqlServer.Management.Smo.Mail | Contains classes that represent Database Mail. |
| xref:Microsoft.SqlServer.Management.Smo.Broker | Contains classes that represent the [!INCLUDEssSB]. |