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