IAutomaticUpdatesSettings::ScheduledInstallationTime property

[IAutomaticUpdatesSettings::ScheduledInstallationTime is no longer supported as of Windows 10.]

Gets and sets the time at which Automatic Updates installs or uninstalls updates.

This property is read/write.

Syntax


HRESULT put_ScheduledInstallationTime(
  [in]  long value
);

HRESULT get_ScheduledInstallationTime(
  [out] long *retval
);

Property value

The time at which Automatic Updates installs or uninstalls updates.

Error codes

Returns S_OK if successful. Otherwise, returns a COM or Windows error code.

Remarks

The time is set by using the following values.

ValueTime
000:00
101:00
202:00
303:00
404:00
505:00
606:00
707:00
808:00
909:00
1010:00
1111:00
1212:00
1313:00
1414:00
1515:00
1616:00
1717:00
1818:00
1919:00
2020:00
2121:00
2222:00
2323:00

 

The value of this property is ignored if the value of the NotificationLevel property is not aunlScheduledInstallation.

Note  Starting with Windows 8 and Windows Server 2012, ScheduledInstallationTime is not supported and will return unreliable values. If you try to modify ScheduledInstallationTime, the operation will appear to succeed but will have no effect.
 

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]

End of client support

Windows 10

End of server support

Windows Server 2016

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IAutomaticUpdatesSettings

 

 

Show: