The GetUserDefinedSchedule method, in Configuration Manager, gets the user-defined software updates schedule that determines when all required, but not installed, updates are automatically installed on the target computer.
[IDL] HRESULT GetUserDefinedSchedule( VARIANT* pvarRecurrenceDays, VARIANT* pvarHour ); |
Parameters
- pvarRecurrenceDays
- Data type: VARIANTQualifiers: [out]Pointer to a variable
containing the day value set for software update recurrence.
Possible values are:
0
NONE (disabled)
1
SUNDAY
2
MONDAY
3
TUESDAY
4
WEDNESDAY
5
THURSDAY
6
FRIDAY
7
SATURDAY
8
DAILY
- pvarHour
- Data type: ULONGQualifiers: [out]Pointer to a variable containing the hour for an update to occur. Possible values are 0 through 23.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
- The method succeeded.
Remarks
This method and the ICCMUpdatesDeployment::SetUserDefinedSchedule Method are used in setting and accessing the client computer update recurrence schedule.
Requirements
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
Send comments about this topic to Microsoft.