Submit

The method Submit is used to submit a job to ITP/OnLine Server.

Method

Function Submit (
Service As String,
	Sync As Boolean
) As Boolean

Parameters

Service, the name of the Service to which the job is submitted.

Sync, specifies whether or not the method should wait until the job has been processed.

Return value

The Submit method returns a result when one of the following is true: ITP/Server has queued the request and the Sync parameter is False, or ITP/Server has finished processing the request and the Sync parameter is True.

If the function succeeds, the return value is True and otherwise False. When an error has occurred an error will be raised that can be caught or checked in the calling program.