Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 2.14 KB

smo-object-model-namespaces.md

File metadata and controls

38 lines (32 loc) · 2.14 KB
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
ignite-2024
object models [SMO]
SMO [SQL Server], namespaces
namespaces [SMO]
SQL Server Management Objects, namespaces
=azuresqldb-current || =azure-sqldw-latest || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric

SMO Object Model Namespaces

[!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.

Namespaces

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].