GetJobStateInfo Method of WebService Object (Web Services API)
This method allows you to get the current state and percent completed for the specified job in asynchronous mode.
This parameter contains the DNS name of the server or its IP address.
This parameter contains the ID (GUID) of the job that was previously created in asynchronous mode.
An JobStateInfo variable that receives JobStateInfo object.