次の方法で共有


EnterpriseResourceCollection.GetById メソッド

エンタープライズ リソースは、 Nameの値を使用して、コレクションから取得します。

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

構文

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

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

パラメーター

  • objectId
    型: System.String

    エンタープライズ リソースの GUID の文字列形式。

戻り値

型: Microsoft.ProjectServer.Client.EnterpriseResource
EnterpriseResourceオブジェクト。

関連項目

参照先

EnterpriseResourceCollection クラス

EnterpriseResourceCollection メンバー

Microsoft.ProjectServer.Client 名前空間