AppInstallerManager.SetAutoUpdateSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.