AutoUpdateSettingsOptions.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 or sets 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(); void set(unsigned int value); };
uint32_t HoursBetweenUpdateChecks();
void HoursBetweenUpdateChecks(uint32_t value);
public uint HoursBetweenUpdateChecks { get; set; }
var uInt32 = autoUpdateSettingsOptions.hoursBetweenUpdateChecks;
autoUpdateSettingsOptions.hoursBetweenUpdateChecks = uInt32;
Public Property HoursBetweenUpdateChecks As UInteger
Property Value
The number of hours between checks for updates.
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.