ISurfaceAreaFacet.XPCmdShellEnabled 属性

Gets or sets a value that indicates whether the XPCmd Shell is enabled.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayNameKeyAttribute("XPCmdShellEnabledName")> _
<DisplayDescriptionKeyAttribute("XPCmdShellEnabledDesc")> _
Property XPCmdShellEnabled As Boolean 
    Get 
    Set
用法
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)

属性值

类型:System.Boolean
True if the XPCmd Shell is enabled; otherwise, false.

请参阅

参考

ISurfaceAreaFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间