Table of contents
API
TOC
Collapse the table of content
Expand the table of content

QueueJob class

Nadin Merali|Last Updated: 5/6/2017

inherits members from ClientObject

Queues a project for publishing.

Syntax

CSOM

class QueueJob 

JSOM

PS.QueueJob

REST Interface

Supported.

PS.QueueJob

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/Projects('{projectid}')/QueueJobs('{jobid}')

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
IdGuidGets the GUID of the queue job.
JobStateJobStateGets the current progress of a job that is queued.
MessageTypeQueueMsgTypeGets the queue message type, for sending a job to the Project Server Queue System..
PercentCompleteIntegerGets the percentage complete value for the queue job.
ProjectProjectGets the project that is queued.
SubmitterSPUserGets the resource that submitted the queue job.
WaitMillisecondsIntegerGets the time interval, expressed in milliseconds, for expected wait time before the queue job will complete.
WaitTimeTimeSpanGets the expected wait time before the queue job will complete.

Methods

Name.NETJSOMRESTReturn TypeDescription
Cancel()voidCancels the queue job.


Method Details

Cancel()

Cancels the queue job.

Syntax
void Cancel()
Parameters

None

Return Value

void

See Also

DraftProject
DraftProjectResourceCollection
ProjectCollection
PublishedProject
QueueJobCollection
ResourcePlan
SPUser

© 2018 Microsoft