DraftTaskLinkCollection.GetById method

Gets a draft task link from the collection with the Id value.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As DraftTaskLink
'Usage
Dim instance As DraftTaskLinkCollection
Dim objectId As String
Dim returnValue As DraftTaskLink

returnValue = instance.GetById(objectId)
[RemoteAttribute]
public DraftTaskLink GetById(
    string objectId
)

Parameters

  • objectId
    Type: System.String

    The string representation of the task link GUID.

Return value

Type: Microsoft.ProjectServer.Client.DraftTaskLink
A DraftTaskLink object.

See also

Reference

DraftTaskLinkCollection class

DraftTaskLinkCollection members

Microsoft.ProjectServer.Client namespace