共用方式為


XPCmdShellEnabled 屬性

Gets or sets the XPCmdShellEnabled property value.

命名空間:  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
Boolean