IServerSecurityFacet.XPCmdShellEnabled Property
Gets or sets whether the XP command shell is enabled.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
<DisplayNameKeyAttribute("XPCmdShellEnabledName")> _
<DisplayDescriptionKeyAttribute("XPCmdShellEnabledDesc")> _
Property XPCmdShellEnabled As Boolean
Get
Set
'Kullanım
Dim instance As IServerSecurityFacet
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
True if the XP command shell is enabled; otherwise, false.