TimeSheetWorkCollection.GetById method
Gets a timesheet actual work object 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 TimeSheetWork
'Usage
Dim instance As TimeSheetWorkCollection
Dim objectId As String
Dim returnValue As TimeSheetWork
returnValue = instance.GetById(objectId)
[RemoteAttribute]
public TimeSheetWork GetById(
string objectId
)
Parameters
objectId
Type: System.StringThe string representation of a timesheet actual work GUID.
Return value
Type: Microsoft.ProjectServer.Client.TimeSheetWork
A TimesheetWork object.