Share via


PublishedAssignmentCollection class

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 .NET JSOM REST Type Description
[Integer] PublishedAssignment Gets a PublishedAssignment from the collection at the specified index.
Item PublishedAssignment Gets a PublishedAssignment from the collection at the specified index.

Methods

Name .NET JSOM REST Return Type Description
'{PublishedAssignmentId}' PublishedAssignment Gets a PublishedAssignment from the collection with the specified PublishedAssignmentId.
GetByGuid(Guid uid) PublishedAssignment Gets a PublishedAssignment from the collection with the Guid value.
GetById(String objectId) PublishedAssignment Gets a PublishedAssignment from the collection with the Id 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
Name Type Description
PublishedAssignmentId String the id of the PublishedAssignment
Return Value

PublishedAssignment

GetByGuid(Guid uid)

Gets a PublishedAssignment from the collection with the Guid value.

Syntax
PublishedAssignment GetByGuid(Guid uid)
Parameters
Name Type Description
uid Guid The Guid of the PublishedAssignment
Return Value

PublishedAssignment

GetById(String objectId)

Gets a PublishedAssignment from the collection with the Id value.

Syntax
PublishedAssignment GetById(String objectId)
Parameters
Name Type Description
objectId String The id of the PublishedAssignment.
Return Value

PublishedAssignment

See Also

PublishedAssignment
PublishedProject
PublishedProjectResource
PublishedTask