ICCMUpdatesDeployment::CancelActiveDownload 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 CancelActiveDownload method, in Configuration Manager, cancels an in-progress download of software updates during a deployment.
[IDL]
HRESULT CancelActiveDownload();
Parameters
None.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
The method succeeded.
Remarks
The CancelActiveDownload method cancels the download only for deployment jobs that are initiated by the Software Updates Client Agent or through the Configuration Manager SDK. If the software updates deployment was initiated as the result of a deadline, the call to this method fails.
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::InstallUpdates Method
CCMUpdatesDeployment COM Automation Class
Software Updates Client
About Software Updates Deployments