Application.JobCompleted Event

Project Developer Reference

Occurs when any queued job originating from Microsoft Office Project Professional 2007 is completed. Office Project Professional 2007 only.

Syntax

expression.JobCompleted(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 Type of the job that was completed. For example, Project Save, Project Publish, or Project Status Update.
lResult Required Long HResult (error code) of the queue operation. For example, 0 indicates success and E_FAIL indicates failure.

Return Value
nothing

See Also