#pragma namespace("\\\\.\\root\\default") instance of __namespace{ name="MS_804";}; #pragma namespace("\\\\.\\root\\default\\MS_804") [AMENDMENT, LOCALE(0x0804)] class MSFT_PackageResource : OMI_BaseResource { [Description("指示是否要确定程序包是存在还是不存在(默认值为“存在”)") : Amended] string Ensure; [Key,Description("要添加或删除的程序包的名称") : Amended] string Name; [Description("路径(程序包的 URL 或 UNC 路径)") : Amended] string Path; [Key,Description("用于唯一标识此程序包的标识号") : Amended] string ProductId; [Description("要在添加或删除过程中传递给程序包的参数") : Amended] string Arguments; [Description("要用于装载 UNC 路径的凭据(如果适用)") : Amended] string Credential; [Description("适用于此安装或删除的可能的有效返回代码列表") : Amended] uint32 ReturnCode[]; [Description("用于记录 MSI 或 EXE 的输出的路径") : Amended] string LogPath; [Description("对已标识程序包的描述") : Amended] string PackageDescription; [Description("已标识程序包的发布者") : Amended] string Publisher; [Description("上次为已标识程序包提供服务的日期或其安装日期(取二者之中较近的日期)") : Amended] string InstalledOn; [Description("已标识程序包的大小") : Amended] uint32 Size; [Description("已标识程序包的版本号") : Amended] string Version; [Description("已标识程序包是否已安装") : Amended] boolean Installed; };