Share via


ProjectCollection.GetById メソッド

Idの値を使用して、コレクションからプロジェクトを取得します。

名前空間:  Microsoft.ProjectServer.Client
アセンブリ:  Microsoft.ProjectServer.Client (Microsoft.ProjectServer.Client.dll 内)

構文

'宣言
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As PublishedProject
'使用
Dim instance As ProjectCollection
Dim objectId As String
Dim returnValue As PublishedProject

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

パラメーター

  • objectId
    型: System.String

    プロジェクトの GUID の文字列表現。

戻り値

型: Microsoft.ProjectServer.Client.PublishedProject
発行済みのプロジェクトです。

関連項目

参照先

ProjectCollection クラス

ProjectCollection メンバー

Microsoft.ProjectServer.Client 名前空間