Application.JobStart Event
Project Developer Reference |
Occurs before the queue job is put on the server queue. Microsoft Office Project Professional 2007 only.
Syntax
expression.JobStart(bstrName, bstrprojGuid, bstrjobGuid, jobType, lResult)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
bstrName | Required | String | Name of the project whose queue job was completed. |
bstrprojGuid | Required | String | GUID of the project whose queue job was completed. |
bstrjobGuid | Required | String | GUID of the job that was completed. |
jobType | Required | Long | Job Type of the job that was completed. For example, Project Save , Project Publish, Project Status Update. |
lResult | Required | Long | HResult (error code) of the queue operation. For example, 0 indicates that the job succeeded, E_FAIL indicates failure |
Return Value
nothing
Remarks
More details about the Queue job can be obtained by making the getJobCompletionState PSI call on the QueueSystem.asmx webservice with the job GUID.
See Also