QueueJobCollection class
inherits members from ClientObjectCollection
Represents a collection of QueueJob objects.
Syntax
CSOM
class QueueJobCollection
JSOM
PS.QueueJobCollection
REST Interface
Supported.
PS.QueueJobCollection
http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/Projects('{projectid}')/QueueJobs
Members
✓ - Read Support ✓ʷ - Write Support
Properties
Name | .NET | JSOM | REST | Type | Description |
---|---|---|---|---|---|
[Integer] | ✓ | QueueJob | Gets a QueueJob from the collection at the specified index. | ||
Item | ✓ | QueueJob | Gets a QueueJob from the collection at the specified index. |
Methods
Name | .NET | JSOM | REST | Return Type | Description |
---|---|---|---|---|---|
'{QueueJobId}' | ✓ | QueueJob | Gets a QueueJob from the collection with the specified QueueJobId. | ||
GetByGuid(Guid uid) | ✓ | ✓ | ✓ | QueueJob | Gets a QueueJob from the collection with the Guid value. |
GetById(String objectId) | ✓ | ✓ | ✓ | QueueJob | Gets a QueueJob from the collection with the Id value. |
#### Method Details
'{QueueJobId}'
Gets a QueueJob from the collection with the specified QueueJobId.
Syntax
QueueJob http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/Projects('{projectid}')/QueueJobs('{QueueJobId}')
Parameters
Name | Type | Description |
---|---|---|
QueueJobId | String | the id of the QueueJob |
Return Value
GetByGuid(Guid uid)
Gets a QueueJob from the collection with the Guid value.
Syntax
QueueJob GetByGuid(Guid uid)
Parameters
Name | Type | Description |
---|---|---|
uid | Guid | The Guid of the QueueJob |
Return Value
GetById(String objectId)
Gets a QueueJob from the collection with the Id value.
Syntax
QueueJob GetById(String objectId)
Parameters
Name | Type | Description |
---|---|---|
objectId | String | The id of the QueueJob. |