Delen via


IServerConfigurationFacet.XPCmdShellEnabled Property

Gets or sets a Boolean value that specifies if the XPCmdShellEnabled property is set.

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

Syntax

'Declaration
Property XPCmdShellEnabled As Boolean
    Get
    Set
'Usage
Dim instance As IServerConfigurationFacet
Dim value As Boolean

value = instance.XPCmdShellEnabled

instance.XPCmdShellEnabled = value
bool XPCmdShellEnabled { get; set; }
property bool XPCmdShellEnabled {
    bool get ();
    void set (bool value);
}
abstract XPCmdShellEnabled : bool with get, set
function get XPCmdShellEnabled () : boolean
function set XPCmdShellEnabled (value : boolean)

Property Value

Type: System.Boolean
True if the property is set. False if the property is not set.