Previous Topic: DeploymentNext Topic: AbortDeploymentJob


ScanPackageOnTargetComputers

This method scans the target computers for a package to check whether deployment of it is possible on them.

Parameters

xsd:string sessionId (m)

The session identifier obtained from the login to the web service.

dsm:ScanParameters scanParameters (m)

Contains information regarding the target computers on which the scan is required to take place. Also provides the options to specify whether the package to be deployed would come from a scalability server or manager, and whether the scan to be performed on staged packages or deployed ones on the target machines.

dsm:ScanPackageInfo scanPackageInfo (m)

Contains information regarding the package that to be scanned.

xsd:string jobName (m)

The job name assigned to the Scan operation and the subsequent deploy.

Return Values

xsd:long

Job Id assigned for the scan operation.

Remarks

This method mirrors the functionality of “scan” cmd line option available in DMSweep. One of the inputs specifying the target computers is mandatory in ScanParameters. GetDeploymentJobStatus() needs to be called after this method to get the status of the scan.

More information:

ScanParameters

ScanPackageInfo