Share via


PhaseCollection.GetById method

Gets a workflow phase 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 Phase
'Usage
Dim instance As PhaseCollection
Dim objectId As String
Dim returnValue As Phase

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

Parameters

  • objectId
    Type: System.String

    The string representation of the workflow phase GUID.

Return value

Type: Microsoft.ProjectServer.Client.Phase
A WorkflowPhase object.

See also

Reference

PhaseCollection class

PhaseCollection members

Microsoft.ProjectServer.Client namespace