Previous Topic: CreateRecoverSoftwareJob3Next Topic: CreateUninstallSoftwareJob3


CreateUninstallSoftwareJob

The CreateUninstallSoftwareJob method creates a new software job of type Uninstall.

Parameters

xsd:string sessionId (m)

The session identifier.

xsd:string softwarePackageProcedureId (m)

The UUID identifying the software package procedure that should be used by the job.

xsd:string softwarePackageInstallProcedureId (m)

The UUID identifying the software package install procedure that should be used by the job.

CreateSoftwareJobOrderProperties softwareJobOrderProperties (m)

The properties required to create and order a software job.

xsd:string softwareJobContainerId (m)

The UUID identifying the job container associated with this new software job.

ArrayOfstring softwarePackageInstallationIds

An array of UUIDs identifying the installation jobs on which this activation job should be based. The targets from the given installation jobs will be used so the unitGroupIds and unitIds parameters should not be supplied.

ArrayOfstring unitGroupIds

An array of UUIDs identifying the unit groups to which the job should be applied. Do not supply this parameter if an array of softwarePackageInstallationIds has been given.

ArrayOfstring unitIds

An array of UUIDs identifying the units to which the job should be applied. Do not specify this parameter if an array of softwarePackageInstallationIds has been given.

Return Values

xsd:string CreateUninstallSoftwareJobReturn

If a software Uninstall job was successfully created, the UUID of the new job will be returned.

Remarks

If softwarePackageInstallationIds is not supplied, you must specify unitId or UnitGroupid.

More information:

SoftwareJobOrderProperties