Share via


DraftTaskCollection.GetById method

Gets a draft task 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 DraftTask
'Usage
Dim instance As DraftTaskCollection
Dim objectId As String
Dim returnValue As DraftTask

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

Parameters

  • objectId
    Type: System.String

    The string representation of the task GUID.

Return value

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

See also

Reference

DraftTaskCollection class

DraftTaskCollection members

Microsoft.ProjectServer.Client namespace