#pragma namespace("\\\\.\\root\\default") instance of __namespace{ name="MS_804";}; #pragma namespace("\\\\.\\root\\default\\MS_804") [Description("此资源用于管理服务。") : Amended,AMENDMENT, LOCALE(0x0804)] class MSFT_ServiceResource : OMI_BaseResource { [key,Description("服务名称") : Amended] string Name; [Description("一个枚举值,用于描述该服务是否应正在计算机上运行。\n正在运行 {默认值} \n已停止 \n") : Amended] string State; [Description("一个枚举值,用于描述服务启动类型。\n自动 \n手动 \n禁用 \n") : Amended] string StartupType; [Description("一个枚举值,用于描述运行服务的内置帐户。\nLocalSystem \nLocalService \nNetworkService \n") : Amended] string BuiltInAccount; [Description("用于运行服务的可选凭据") : Amended] string Credential; [Description("服务状态") : Amended] string Status; [Description("服务显示名称") : Amended] string DisplayName; [Description("服务描述") : Amended] string Description; [Description("服务可执行文件的路径") : Amended] string Path; [Description("服务依赖项列表") : Amended] string Dependencies[]; [Description("一个枚举值,用于检查某个服务是否已存在,如果计算机上不存在该服务,则创建该服务。\n存在 {默认值} \n不存在 \n") : Amended] string Ensure; };