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
)

參數

傳回值

類型:Microsoft.ProjectServer.Client.PublishedProject
已發佈的專案。

請參閱

參照

ProjectCollection 類別

ProjectCollection 成員

Microsoft.ProjectServer.Client 命名空間