ExecuteProgram Method in Class CCM_ProgramsManager
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.
Syntax
uint32 ExecuteProgram(
[IN] String ProgramID,
[IN] String PackageID
);
Parameters
ProgramID
Data type: String
Qualifiers: [in]
Identifier of the software distribution program.
PackageID
Data type: String
Qualifiers: [in]
Identifier of the associated package.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for