Application.JobStart event (Project)
Occurs before the queue job is put on the server queue. Project Professional 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.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.