title | description | author | ms.author | ms.date | ms.service | ms.topic | ms.custom | helpviewer_keywords | monikerRange | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMO Namespaces |
SMO Object Model Namespaces |
markingmyname |
maghan |
08/02/2016 |
sql |
reference |
|
|
=azuresqldb-current || =azure-sqldw-latest || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric |
[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance Synapse Analytics FabricSQLDB]
[!INCLUDEssNoVersion] Management Objects (SMO) has various namespaces. The different namespaces represent different areas of functionality within SMO.
In [!INCLUDE sssql22-md], the SMO assemblies are located in the C:\Program Files\Microsoft SQL Server\160\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]. |