Freigeben über


XPCmdShellEnabled-Eigenschaft

Gets or sets the XPCmdShellEnabled property value.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("XPCmdShellEnabledDesc")> _
<DisplayNameKeyAttribute("XPCmdShellEnabledName")> _
Property XPCmdShellEnabled As Boolean
    Get
    Set
'Usage
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)

Eigenschaftswert

Typ: System. . :: . .Boolean
Boolean