Share via


DraftTaskLink class

inherits members from TaskLink

Represents a task link in a checked-out project.

Syntax

CSOM

class DraftTaskLink 

JSOM

PS.DraftTaskLink

REST Interface

Supported.

PS.DraftTaskLink

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

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.
End DraftTask Gets the task at the end of the link.
EndId Guid Gets the id of the task at the end of the link.
Start DraftTask Gets the task at the start of the link.
StartId Guid Gets the id of the at the start of the link.

Methods

Name .NET JSOM REST Return Type Description
DeleteObject() void Deletes the draft task link object.

#### Method Details

DeleteObject()

Deletes the draft task link object.

Syntax
void DeleteObject()
Parameters

None

Return Value

void

See Also

DraftTaskLinkCollection
TaskLinkCreationInformation