WESL_UserSetting.RemoveCustomShell

此方法根据安全标识符 (SID) 删除特定用户或组的 Shell 启动程序配置。

语法

[Static] uint32 RemoveCustomShell (
    [In, Required] string Sid
);

参数


[in,必需]一个字符串,其中包含配置 Shell Launcher 的用户或组的安全标识符 (SID) 。

返回值

返回指示 WMI 状态WMI 错误的 HRESULT 值。

注解

只有重新启动设备才能使更改生效。

要求

Windows 版本 支持
Windows 主页
Windows 专业版
Windows 企业版
Windows 教育版
Windows IoT 企业版 是的