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

PublishedProjectResourceCollection class

Nadin Merali|Last Updated: 5/6/2017

inherits members from ClientObjectCollection

Represents a collection of resources in a published project.

Syntax

CSOM

class PublishedProjectResourceCollection 

JSOM

PS.PublishedProjectResourceCollection

REST Interface

Supported.

PS.PublishedProjectResourceCollection

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

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
[Integer]PublishedProjectResourceGets a PublishedProjectResource from the collection at the specified index.
ItemPublishedProjectResourceGets a PublishedProjectResource from the collection at the specified index.

Methods

Name.NETJSOMRESTReturn TypeDescription
'{PublishedProjectResourceId}'PublishedProjectResourceGets a PublishedProjectResource from the collection with the specified PublishedProjectResourceId.
GetByGuid(Guid uid)PublishedProjectResourceGets a PublishedProjectResource from the collection with the Id value.
GetById(String objectId)PublishedProjectResourceGets a PublishedProjectResource from the collection with the Guid value.


Method Details

'{PublishedProjectResourceId}'

Gets a PublishedProjectResource from the collection with the specified PublishedProjectResourceId.

Syntax
PublishedProjectResource http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/Projects('{projectid}')/ProjectResources('{PublishedProjectResourceId}')
Parameters
NameTypeDescription
PublishedProjectResourceIdStringthe id of the PublishedProjectResource
Return Value

PublishedProjectResource

GetByGuid(Guid uid)

Gets a PublishedProjectResource from the collection with the Id value.

Syntax
PublishedProjectResource GetByGuid(Guid uid)
Parameters
NameTypeDescription
uidGuidThe Guid of the PublishedProjectResource
Return Value

PublishedProjectResource
A PublishedProjectResource object.

GetById(String objectId)

Gets a PublishedProjectResource from the collection with the Guid value.

Syntax
PublishedProjectResource GetById(String objectId)
Parameters
NameTypeDescription
objectIdStringThe id of the PublishedProjectResource.
Return Value

PublishedProjectResource

See Also

PublishedProject
PublishedProjectResource

© 2018 Microsoft