Share via


AppInstallerManager.GetForSystem 方法

定义

检索具有系统优先级的 AppInstallerManager 实例。

public:
 static AppInstallerManager ^ GetForSystem();
 static AppInstallerManager GetForSystem();
public static AppInstallerManager GetForSystem();
function getForSystem()
Public Shared Function GetForSystem () As AppInstallerManager

返回

具有系统优先级的 AppInstallerManager 实例。

注解

通过此方法获取具有系统优先级的 AppInstallerManager 需要管理员权限。 由具有系统优先级的 AppInstallerManager 中的操作设置的值不会被在默认级别执行的操作覆盖。

适用于