ProjectCollection.GetById method

Gets a project 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 PublishedProject
'Usage
Dim instance As ProjectCollection
Dim objectId As String
Dim returnValue As PublishedProject

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

Parameters

  • objectId
    Type: System.String

    The string representation of the project GUID.

Return value

Type: Microsoft.ProjectServer.Client.PublishedProject
A published project.

See also

Reference

ProjectCollection class

ProjectCollection members

Microsoft.ProjectServer.Client namespace