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

PublishedAssignmentCollection class

Nadin Merali|Last Updated: 5/6/2017

inherits members from ClientObjectCollection

Represents a collection of published assignments.

Syntax

CSOM

class PublishedAssignmentCollection

JSOM

PS.PublishedAssignmentCollection

REST Interface

Supported.

PS.PublishedAssignmentCollection

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

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
[Integer]PublishedAssignmentGets a PublishedAssignment from the collection at the specified index.
ItemPublishedAssignmentGets a PublishedAssignment from the collection at the specified index.

Methods

Name.NETJSOMRESTReturn TypeDescription
'{PublishedAssignmentId}'PublishedAssignmentGets a PublishedAssignment from the collection with the specified PublishedAssignmentId.
GetByGuid(Guid uid)PublishedAssignmentGets a PublishedAssignment from the collection with the Id value.
GetById(String objectId)PublishedAssignmentGets a PublishedAssignment from the collection with the Guid value.


Method Details

'{PublishedAssignmentId}'

Gets a PublishedAssignment from the collection with the specified PublishedAssignmentId.

Syntax
PublishedAssignment http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/Projects('{projectid}')/Assignments('{PublishedAssignmentId}')
Parameters
NameTypeDescription
PublishedAssignmentIdStringthe id of the PublishedAssignment
Return Value

PublishedAssignment

GetByGuid(Guid uid)

Gets a PublishedAssignment from the collection with the Id value.

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

PublishedAssignment

GetById(String objectId)

Gets a PublishedAssignment from the collection with the Guid value.

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

PublishedAssignment

See Also

PublishedAssignment
PublishedProject
PublishedProjectResource
PublishedTask

© 2018 Microsoft