PublishedTaskLinkCollection class

inherits members from ClientObjectCollection

Represents a collection of task links in a published project.

Syntax

CSOM

class PublishedTaskLinkCollection 

JSOM

PS.PublishedTaskLinkCollection

REST Interface

Supported.

PS.PublishedTaskLinkCollection

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

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
[Integer] PublishedTaskLink Gets a PublishedTaskLink from the collection at the specified index.
Item PublishedTaskLink Gets a PublishedTaskLink from the collection at the specified index.

Methods

Name .NET JSOM REST Return Type Description
'{PublishedTaskLinkId}' PublishedTaskLink Gets a PublishedTaskLink from the collection with the specified PublishedTaskLinkId.
GetByGuid(Guid uid) PublishedTaskLink Gets a PublishedTaskLink from the collection with the Guid value.
GetById(String objectId) PublishedTaskLink Gets a PublishedTaskLink from the collection with the Id value.


Method Details

'{PublishedTaskLinkId}'

Gets a PublishedTaskLink from the collection with the specified PublishedTaskLinkId.

Syntax
PublishedTaskLink http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/Projects('{projectid}')/TaskLinks('{PublishedTaskLinkId}')
Parameters
Name Type Description
PublishedTaskLinkId String the id of the PublishedTaskLink
Return Value

PublishedTaskLink

GetByGuid(Guid uid)

Gets a PublishedTaskLink from the collection with the Guid value.

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

PublishedTaskLink

GetById(String objectId)

Gets a PublishedTaskLink from the collection with the Id value.

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

PublishedTaskLink

See Also

PublishedProject
PublishedTask
PublishedTaskLink