CancelDownload 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 CancelDownload WMI class method, in Configuration Manager, cancels jobs that are downloading content that is required for legacy software distribution programs.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
Syntax
uint32 CancelDownload(
[IN] String ProgramID,
[IN] String PackageID
);
Parameters
ProgramID
Data type: StringQualifiers: [in]
Identifier of the software distribution program.
PackageID
Data type: StringQualifiers: [in]
Identifier of the associated software distribution 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.