Share via


TimeSheetPeriodCollection.GetById method

Gets a timesheet period 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 TimeSheetPeriod
'Usage
Dim instance As TimeSheetPeriodCollection
Dim objectId As String
Dim returnValue As TimeSheetPeriod

returnValue = instance.GetById(objectId)
[RemoteAttribute]
public TimeSheetPeriod GetById(
    string objectId
)

Parameters

  • objectId
    Type: System.String

    The string representation of the timesheet period GUID.

Return value

Type: Microsoft.ProjectServer.Client.TimeSheetPeriod
A TimesheetPeriod object.

See also

Reference

TimeSheetPeriodCollection class

TimeSheetPeriodCollection members

Microsoft.ProjectServer.Client namespace