Muokkaa

Jaa


SMO and DMO XPs (server configuration option)

Applies to: SQL Server

Use the SMO and DMO XPs option to enable SQL Server Management Object (SMO) extended stored procedures on this server.

Note than beginning in SQL Server 2012 (11.x), DMO has been removed from SQL Server.

The possible values are described in the following table:

Value Meaning
0 SMO XPs are not available.
1 SMO XPs are available. This is the default.

The setting takes effect immediately.

Examples

The following example enables SMO extended stored procedures.

sp_configure 'show advanced options', 1;  
GO  
RECONFIGURE;  
GO  
sp_configure 'SMO and DMO XPs', 1;  
GO  
RECONFIGURE  
GO  

See Also

SQL Server Management Objects (SMO) Programming Guide