description | title | ms.custom | ms.date | ms.service | ms.reviewer | ms.subservice | ms.topic | helpviewer_keywords | ms.assetid | author | ms.author | monikerRange | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMO Object Model Namespaces |
SMO Namespaces | Microsoft Docs |
08/02/2016 |
sql |
reference |
|
7bfabe4d-9f4c-4bc9-b998-93bd2b50ee8a |
markingmyname |
maghan |
=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current |
[!INCLUDE SQL Server ASDB, ASDBMI, ASDW ]
[!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]. |