The ExecuteProgram WMI class method, in Configuration Manager, manages the download of a legacy software distribution program.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
uint32 ExecuteProgram( [IN] String ProgramID, [IN] String PackageID );
- Data type: StringQualifiers: [in]Identifier of the software distribution program.
- Data type: StringQualifiers: [in]Identifier of the associated package.
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.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.