You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SQL Server Management Objects (SMO) Programming Guide | Microsoft Docs
ms.custom
ms.date
03/14/2017
ms.prod
sql-server-2016
ms.reviewer
ms.suite
ms.technology
docset-sql-devref
ms.tgt_pltfrm
ms.topic
reference
helpviewer_keywords
SMO [SQL Server]
SQL Server Management Objects
programming [SMO]
ms.assetid
4cde2b85-2a31-4cac-8d16-7a4196066193
caps.latest.revision
32
author
JennieHubbard
ms.author
jhubbard
manager
jhubbard
SQL Server Management Objects (SMO) Programming Guide
[!INCLUDEssNoVersion] Management Objects (SMO) is a collection of objects that are designed for programming all aspects of managing [!INCLUDEmsCoName] [!INCLUDEssNoVersion]. [!INCLUDEssNoVersion] Replication Management Objects (RMO) is a collection of objects that encapsulates [!INCLUDEssNoVersion] replication management.
Provides information about programming the SMO objects in the Microsoft.SqlServer.management, Microsoft.SqlServer.Management.NotificationServices, Microsoft.SqlServer.Management.Smo, Microsoft.SqlServer.Management.Smo.Agent, Microsoft.SqlServer.Management.Smo.Broker, Microsoft.SqlServer.Management.Smo.Mail, Microsoft.SqlServer.Management.Smo.RegisteredServers, Microsoft.SqlServer.Management.Smo.Wmi, and Microsoft.SqlServer.Management.Trace namespaces.
This includes instructions to write programs that define databases and manage [!INCLUDEssNoVersion]. You can use SMO to create databases, perform backups, create jobs, configure [!INCLUDEssNoVersion], assign permissions, and to perform many other administrative tasks.