Share via


PostponeProgramsToNonBusinessHours Method in Class CCM_ProgramsManager

 

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

The PostponeProgramsToNonBusinessHours WMI class method, in Configuration Manager, schedules legacy software distribution programs to run in the next available user defined service window.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

Syntax

uint32 PostponeProgramsToNonBusinessHours(
     [IN]  CCM_Program CCMPrograms[],
     [IN]  Boolean RebootImmediatelyAfterInstall
);

Parameters

  • CCMPrograms []
    Data type: CCM_Program

    Qualifiers: [in]

    Array of software distribution programs to be postponed.

  • RebootImmediatelyAfterInstall
    Data type: Boolean

    Qualifiers: [in]

    true if the computer restarts immediately after the installation, otherwise, false.

Return Values

A UInt32 data type that is 0 to indicate success or nonzero to indicate failure.

For information about handling returned errors, see About Configuration Manager Errors.

Remarks

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

CCM_ProgramsManager Client WMI Class