Share via


EnterpriseProjectTypeCollection.GetById method

Gets an enterprise project type (EPT) 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 EnterpriseProjectType
'Usage
Dim instance As EnterpriseProjectTypeCollection
Dim objectId As String
Dim returnValue As EnterpriseProjectType

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

Parameters

  • objectId
    Type: System.String

    The string representation of the EPT GUID.

Return value

Type: Microsoft.ProjectServer.Client.EnterpriseProjectType
An EnterpriseObjectType object.

See also

Reference

EnterpriseProjectTypeCollection class

EnterpriseProjectTypeCollection members

Microsoft.ProjectServer.Client namespace