共用方式為


IServerConfigurationFacet.XPCmdShellEnabled 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Property XPCmdShellEnabled As Boolean 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

IServerConfigurationFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間