Share via


DraftAssignmentCollection.GetById method

Gets a draft assignment 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 DraftAssignment
'Usage
Dim instance As DraftAssignmentCollection
Dim objectId As String
Dim returnValue As DraftAssignment

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

Parameters

  • objectId
    Type: System.String

    The string representation of the assignment GUID.

Return value

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

See also

Reference

DraftAssignmentCollection class

DraftAssignmentCollection members

Microsoft.ProjectServer.Client namespace