Partager via


ICCMUpdatesDeployment::GetUserDefinedSchedule Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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: VARIANT

    Qualifiers: [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: ULONG

    Qualifiers: [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

Concepts

ICCMUpdatesDeployment Interface
ICCMUpdatesDeployment::SetUserDefinedSchedule Method
CCMUpdatesDeployment COM Automation Class
Software Updates Client
About Software Updates Deployments