共用方式為


PublishedProjectResourceCollection.GetById 方法

使用Id值從集合中取得的資源。

命名空間:  Microsoft.ProjectServer.Client
組件:  Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)

語法

'宣告
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As PublishedProjectResource
'用途
Dim instance As PublishedProjectResourceCollection
Dim objectId As String
Dim returnValue As PublishedProjectResource

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

參數

傳回值

類型:Microsoft.ProjectServer.Client.PublishedProjectResource
Resource物件。

請參閱

參照

PublishedProjectResourceCollection 類別

PublishedProjectResourceCollection 成員

Microsoft.ProjectServer.Client 命名空間