#pragma namespace("\\\\.\\root\\default") instance of __namespace{ name="MS_804";}; #pragma namespace("\\\\.\\root\\default\\MS_804") [Description("此资源用于配置客户端 SKU 中的可选功能。") : Amended,AMENDMENT, LOCALE(0x0804)] class MSFT_WindowsOptionalFeature : OMI_BaseResource { [Key, Description("要启用/禁用的功能名称") : Amended] String Name; [Description("是否应启用该功能") : Amended] String Ensure; [Description("指定文件的位置,以便能够还原已从映像中删除的功能") : Amended] String Source[]; [Description("如果指定此项,则 DISM 将不会针对源文件执行 WU 检查") : Amended] Boolean NoWindowsUpdateCheck; [Description("删除可选功能的文件,且不从映像中删除该功能的清单") : Amended] Boolean RemoveFilesOnDisable; [Description("默认日志级别为 3。接受的值为 1 = 仅错误,2 = 错误和警告,3 = 错误、警告和信息") : Amended] String LogLevel; [Description("日志文件的完整文件路径。默认为 %WINDIR%\\Logs\\Dism\\dism.log") : Amended] String LogPath; [Description("基础功能返回的自定义属性") : Amended] String CustomProperties[]; [Description("功能的说明") : Amended] String Description; [Description("功能的显示名称") : Amended] String DisplayName; };