EnterpriseResourceCollection.GetById method
Gets an enterprise resource from the collection with the Name value.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function GetById ( _
objectId As String _
) As EnterpriseResource
'Usage
Dim instance As EnterpriseResourceCollection
Dim objectId As String
Dim returnValue As EnterpriseResource
returnValue = instance.GetById(objectId)
[RemoteAttribute]
public EnterpriseResource GetById(
string objectId
)
Parameters
objectId
Type: System.StringThe string representation of the enterprise resource GUID.
Return value
Type: Microsoft.ProjectServer.Client.EnterpriseResource
An EnterpriseResource object.
See also
Reference
EnterpriseResourceCollection class