Compartilhar via


Propriedade do RDL Configuration.XPCmdShellEnabled

Gets the ConfigProperty object that is used to set the XP cmd shell enabled configuration option.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public ReadOnly Property XPCmdShellEnabled As ConfigProperty 
    Get
'Uso
Dim instance As Configuration 
Dim value As ConfigProperty 

value = instance.XPCmdShellEnabled
public ConfigProperty XPCmdShellEnabled { get; }
public:
property ConfigProperty^ XPCmdShellEnabled {
    ConfigProperty^ get ();
}
member XPCmdShellEnabled : ConfigProperty
function get XPCmdShellEnabled () : ConfigProperty

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.ConfigProperty
A ConfigProperty object that specifies the settings for the XP cmd shell enabled configuration option.

Comentários

The Affinity64Mask property sets the XP cmd shell enabled configuration option. This property is used to enable the command shell extended stored procedures.

Exemplos

Configurando o SQL Server no SMO

Consulte também

Referência

Configuration Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Opções de configuração de servidor

sp_configure (Transact-SQL)