Export (0) Print
Expand All

IAutomaticUpdatesSettings::ScheduledInstallationTime property

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

Note  Not supported on Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2

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  Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2 provide only limited support for this property. If the computer has been configured through Group Policy to use a scheduled installation day and time, this property returns this scheduled time. If the computer hasn't been configured through Group Policy in this way, this property returns a default and unreliable value. If you try to modify this property on these operating systems, ScheduledInstallationTime appears to succeed but has 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]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IAutomaticUpdatesSettings

 

 

Community Additions

ADD
Show:
© 2014 Microsoft