GetJobState Method of WebService Object (Web Services API)
This method allows you to get information about current state of the specified job in asynchronous mode.
Note. To get the state and percent completed, use the GetJobStateInfo method.
C# Syntax
JobStateEnum GetJobState(
string serverLocation,
string jobId
);
Parameters
serverLocation
This parameter contains the DNS name of the server or its IP address.
JobId
This parameter contains the unique ID (GUID) the job that was previously created in asynchronous mode.
Return Value
A JobStateEnum variable that receives the requested state of the job.
See also
26.03.2024 13:49:49