SMO and DMO XPs Server Configuration Option

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

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, 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