Freigeben über


EnterpriseProjectTypeCollection.GetById-Methode

Ruft einen Enterprise-Projekttyp (EPT) mit der Id -Wert aus der Auflistung ab.

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
)

Parameter

  • objectId
    Typ: System.String

    Die Zeichenfolgendarstellung der GUID EPT.

Rückgabewert

Typ: Microsoft.ProjectServer.Client.EnterpriseProjectType
Ein EnterpriseObjectType -Objekt.

Siehe auch

Referenz

EnterpriseProjectTypeCollection Klasse

EnterpriseProjectTypeCollection-Member

Microsoft.ProjectServer.Client-Namespace