IServerSecurityFacet.XPCmdShellEnabled 属性
Gets or sets whether the XP command shell is enabled.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<DisplayDescriptionKeyAttribute("XPCmdShellEnabledDesc")> _
<DisplayNameKeyAttribute("XPCmdShellEnabledName")> _
Property XPCmdShellEnabled As Boolean
Get
Set
用法
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)
属性值
类型:System.Boolean
True if the XP command shell is enabled; otherwise, false.