Επεξεργασία

Κοινή χρήση μέσω


SMO Object Model

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics SQL database in Microsoft Fabric

The SMO object model is made up of a hierarchy of objects. The Server object is the top level object and all instance class objects reside under the Server object.

The ManagedComputer class is a top level class with a separate object hierarchy. The ManagedComputer object represents Microsoft SQL Server services and network settings available through the WMI Provider.

Besides the Server and ManagedComputer objects, there are several utility classes that represent tasks or operations, such as Transfer, Backup, or Restore

The SMO object model is made up of several namespaces. For more information, see SMO Namespaces.

See Also

SMO Object Model Diagram
SMO Namespaces
WMI Provider for Configuration Management Concepts