AppInstallerInfo.HoursBetweenUpdateChecks Property
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.
Gets an integer value specifying the frequency with which the the deployment service will check for an update to the App Installer file.
public:
property unsigned int HoursBetweenUpdateChecks { unsigned int get(); };
uint32_t HoursBetweenUpdateChecks();
public uint HoursBetweenUpdateChecks { get; }
var uInt32 = appInstallerInfo.hoursBetweenUpdateChecks;
Public ReadOnly Property HoursBetweenUpdateChecks As UInteger
Property Value
The number of hours between checks for updates.
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|
Remarks
When HoursBetweenUpdateChecks is set to 0, the deployment service will check for updates every time the application is launched. For other values, the deployment service will check for updates when the application is launched only if it hasn't previously checked within the last number of hours specified by HoursBetweenUpdateChecks. For example, if HoursBetweenUpdateChecks is set to 12, the deployments service will check for updates when the application is launched only if it hasn't already checked for updates in the previous 12 hours.
The allowed range for this property is 0 to 255. The default value is 24.
This property is equivalent to the HoursBetweenUpdateChecks attribute of the OnLaunch element of the App Installer file schema.