QueueJob class
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 | .NET | JSOM | REST | Type | Description |
---|---|---|---|---|---|
Id | ✓ | ✓ | ✓ | Guid | Gets the GUID of the queue job. |
JobState | ✓ | ✓ | ✓ | JobState | Gets the current progress of a job that is queued. |
MessageType | ✓ | ✓ | ✓ | QueueMsgType | Gets the queue message type, for sending a job to the Project Server Queue System.. |
PercentComplete | ✓ | ✓ | ✓ | Integer | Gets the percentage complete value for the queue job. |
Project | ✓ | ✓ | ✓ | Project | Gets the project that is queued. |
Submitter | ✓ | ✓ | ✓ | SPUser | Gets the resource that submitted the queue job. |
WaitMilliseconds | ✓ | ✓ | Integer | Gets the time interval, expressed in milliseconds, for expected wait time before the queue job will complete. | |
WaitTime | ✓ | ✓ | TimeSpan | Gets the expected wait time before the queue job will complete. |
Methods
Name | .NET | JSOM | REST | Return Type | Description |
---|---|---|---|---|---|
Cancel() | ✓ | ✓ | ✓ | void | Cancels 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