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