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

PublishedTaskLinkCollection class

Nadin Merali|Last Updated: 5/6/2017

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.NETJSOMRESTTypeDescription
[Integer]PublishedTaskLinkGets a PublishedTaskLink from the collection at the specified index.
ItemPublishedTaskLinkGets a PublishedTaskLink from the collection at the specified index.

Methods

Name.NETJSOMRESTReturn TypeDescription
'{PublishedTaskLinkId}'PublishedTaskLinkGets a PublishedTaskLink from the collection with the specified PublishedTaskLinkId.
GetByGuid(Guid uid)PublishedTaskLinkGets a PublishedTaskLink from the collection with the Id value.
GetById(String objectId)PublishedTaskLinkGets a PublishedTaskLink from the collection with the Guid 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
NameTypeDescription
PublishedTaskLinkIdStringthe id of the PublishedTaskLink
Return Value

PublishedTaskLink

GetByGuid(Guid uid)

Gets a PublishedTaskLink from the collection with the Id value.

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

PublishedTaskLink

GetById(String objectId)

Gets a PublishedTaskLink from the collection with the Guid value.

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

PublishedTaskLink

See Also

PublishedProject
PublishedTask
PublishedTaskLink

© 2018 Microsoft