Share via


AutoUpdateSettingsOptions.HoursBetweenUpdateChecks Property

Definition

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

UInt32

unsigned int

uint32_t

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.

Applies to