SMO and DMO XPs 选项
SMO and DMO XPs 选项用于在服务器上启用 SQL Server 管理对象 (SMO) 和 SQL 分布式管理对象 (SQL-DMO) 扩展存储过程。
下表中列出了该选项的可能值:
值 | 含义 |
---|---|
0 |
SMO 和 SQL-DMO XPs 均不可用。这是默认设置。 |
1 |
SMO 和 SQL-DMO XPs 均可用。 |
该设置立即生效,无需停止并重新启动服务器。
示例
以下示例启用了 SMO 和 DMO 扩展存储过程。
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'SMO and DMO XPs', 1;
GO
RECONFIGURE
GO
请参阅
其他资源
SQL Distributed Management Objects (SQL-DMO)
SQL Server Management Objects (SMO)