DraftProjectResourceCollection.GetById method
Gets a draft project 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 DraftProjectResource
'Usage
Dim instance As DraftProjectResourceCollection
Dim objectId As String
Dim returnValue As DraftProjectResource
returnValue = instance.GetById(objectId)
[RemoteAttribute]
public DraftProjectResource GetById(
string objectId
)
Parameters
objectId
Type: System.StringThe string representation of the project resource GUID.
Return value
Type: Microsoft.ProjectServer.Client.DraftProjectResource
The draft project resource.
See also
Reference
DraftProjectResourceCollection class