Partager via


ProjectCollection.GetById method

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

Syntax

'Declaration
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)
public PublishedProject GetById(
    string objectId
)

Parameters

Return value

Type: Microsoft.ProjectServer.Client.PublishedProject

See also

Reference

ProjectCollection class

ProjectCollection members

Microsoft.ProjectServer.Client namespace