Share via


AppInstallerInfo.PolicySource プロパティ

定義

AppInstallerInfo で指定された更新ポリシーがシステムまたは既定のソースから を使用して設定されたかどうかを示す AppInstallerPolicySource 列挙から値を取得します。

public:
 property AppInstallerPolicySource PolicySource { AppInstallerPolicySource get(); };
AppInstallerPolicySource PolicySource();
public AppInstallerPolicySource PolicySource { get; }
var appInstallerPolicySource = appInstallerInfo.policySource;
Public ReadOnly Property PolicySource As AppInstallerPolicySource

プロパティ値

*AppInstallerInfo によって表されるポリシーのソース。

Windows の要件

デバイス ファミリ
Windows 11 (10.0.22000.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v14.0 で導入)

注釈

ポリシーが AppInstallerManager.GetDefault を使用して設定されている場合、ポリシー ソースは Default です。 ポリシーが AppInstallerManager.GetForSystem を使用して設定されている場合、ポリシー ソースは System です。

適用対象