TaskLinkCreationInformation class

Provides property settings and methods that are used to create a task link.

Syntax

CSOM

class TaskLinkCreationInformation 

JSOM

PS.TaskLinkCreationInformation

REST Interface

Supported.

PS.TaskLinkCreationInformation

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

POST Example (not all fields may be required)

body = {
    'parameters': {
        'DependencyType':'value', 
        'EndId':'value', 
        'Id':'value', 
        'StartId':'value'       
    }

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
DependencyType ✓ʷ ✓ʷ ✓ʷ DependencyType Gets or sets the type of link relationship between two tasks.
EndId ✓ʷ ✓ʷ ✓ʷ Guid Gets or sets the GUID of the task that is at the end of the link.
Id ✓ʷ ✓ʷ ✓ʷ Guid Gets or sets the GUID of the task link.
StartId ✓ʷ ✓ʷ ✓ʷ Guid Gets or sets the GUID of the task that is at the start of the link.

See Also

DraftTaskLink
DraftTaskLinkCollection