PjCacheJobState enumeration (Project)

Contains constants that specify the cache status of a job that Project Professional sends to the Project Server Queue Service.

Members

Name Value Description
pjCacheJobStateCancelled 9 The queue job is cancelled.
pjCacheJobStateCorrelationBlocked 8 The queue job correlation is blocked; the job is not processing.
pjCacheJobStateFailed 5 The queue job failed.
pjCacheJobStateFailedNotBlocking 6 The queue job failed but is not blocking continued processing.
pjCacheJobStateInvalid -1 The queue job is not valid. (The hexadecimal value is &HFFFFFFFF.)
pjCacheJobStateLastState 13 The queue job state is the same as the previous state.
pjCacheJobStateOnHold 10 The queue job is on hold.
pjCacheJobStateProcessing 3 The queue job is processing.
pjCacheJobStateReadyForLaunch 12 The queue job is ready for launch.
pjCacheJobStateReadyForProcessing 1 The queue job is ready for processing.
pjCacheJobStateSendIncomplete 2 The queue job is not completely sent to the Project Server Queue Service.
pjCacheJobStateSkipped 7 The queue job is deferred while another job is being processed.
pjCacheJobStateSleeping 11 The queue job is sleeping.
pjCacheJobStateSuccess 4 The queue job completed successfully.
pjCacheJobStateUnknown 0 The queue job state is unknown.

Remarks

The Application.GetCacheStatusForProject property returns a PjCacheJobState constant. The PjCacheJobState constants from 0 to 13 correspond to the JobState enumeration of the QueueSystem service in the Project Server Interface (PSI).

See also

GetCacheStatusForProject Property PjJobType Enumeration QueueConstants.JobState enumeration

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.