Share via


StatusFreq.GetPeriodForDate method

Gets the status period within which the specified date falls.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Function GetPeriodForDate ( _
    date As DateTime _
) As SrPeriod
'Usage
Dim instance As StatusFreq
Dim date As DateTime
Dim returnValue As SrPeriod

returnValue = instance.GetPeriodForDate(date)
public SrPeriod GetPeriodForDate(
    DateTime date
)

Parameters

  • date
    Type: System.DateTime

    The date that is used to find the status period.

Return value

Type: Microsoft.Office.Project.Server.Library.SrPeriod
The status period that contains the specified date.

See also

Reference

StatusFreq class

StatusFreq members

Microsoft.Office.Project.Server.Library namespace