Dela via


ISurfaceAreaFacet.XPCmdShellEnabled Property

Gets or sets the XPCmdShellEnabled property value.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("XPCmdShellEnabledName")> _
<DisplayDescriptionKeyAttribute("XPCmdShellEnabledDesc")> _
Property XPCmdShellEnabled As Boolean
    Get
    Set
'Usage
Dim instance As ISurfaceAreaFacet
Dim value As Boolean

value = instance.XPCmdShellEnabled

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

Property Value

Type: System.Boolean
Boolean