Share via


AppInstallerManager.SetAutoUpdateSettings Method

Definition

Sets the auto update settings for the specified package.

public:
 virtual void SetAutoUpdateSettings(Platform::String ^ packageFamilyName, AutoUpdateSettingsOptions ^ appInstallerInfo) = SetAutoUpdateSettings;
void SetAutoUpdateSettings(winrt::hstring const& packageFamilyName, AutoUpdateSettingsOptions const& appInstallerInfo);
public void SetAutoUpdateSettings(string packageFamilyName, AutoUpdateSettingsOptions appInstallerInfo);
function setAutoUpdateSettings(packageFamilyName, appInstallerInfo)
Public Sub SetAutoUpdateSettings (packageFamilyName As String, appInstallerInfo As AutoUpdateSettingsOptions)

Parameters

packageFamilyName
String

Platform::String

winrt::hstring

The package family name for the package for which auto update settings are set.

appInstallerInfo
AutoUpdateSettingsOptions

An AutoUpdateSettingsOptions object representing the new auto update settings.

Remarks

To use this API, you must declare the packageManagement and packageQuery capabilities.

Applies to