Compartir a través de


IServerSecurityFacet.XPCmdShellEnabled Propiedad

Gets or sets whether the XP command shell is enabled.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<DisplayDescriptionKeyAttribute("XPCmdShellEnabledDesc")> _
<DisplayNameKeyAttribute("XPCmdShellEnabledName")> _
Property XPCmdShellEnabled As Boolean 
    Get 
    Set
'Uso
Dim instance As IServerSecurityFacet 
Dim value As Boolean 

value = instance.XPCmdShellEnabled

instance.XPCmdShellEnabled = value
[DisplayDescriptionKeyAttribute("XPCmdShellEnabledDesc")]
[DisplayNameKeyAttribute("XPCmdShellEnabledName")]
bool XPCmdShellEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"XPCmdShellEnabledDesc")]
[DisplayNameKeyAttribute(L"XPCmdShellEnabledName")]
property bool XPCmdShellEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("XPCmdShellEnabledDesc")>]
[<DisplayNameKeyAttribute("XPCmdShellEnabledName")>]
abstract XPCmdShellEnabled : bool with get, set
function get XPCmdShellEnabled () : boolean 
function set XPCmdShellEnabled (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
True if the XP command shell is enabled; otherwise, false.

Vea también

Referencia

IServerSecurityFacet Interfaz

Espacio de nombres Microsoft.SqlServer.Management.Smo