Share via


AdminEventReceiver.OnReportingPeriodUpdated method

A local post-event handler for the Admin – ReportingPeriodUpdated event, which occurs after Project Server updates a time reporting period.

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

Syntax

'Declaration
Public Overridable Sub OnReportingPeriodUpdated ( _
    contextInfo As PSContextInfo, _
    e As ReportingPeriodPostUpdateEventArgs _
)
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As ReportingPeriodPostUpdateEventArgs

instance.OnReportingPeriodUpdated(contextInfo, _
    e)
public virtual void OnReportingPeriodUpdated(
    PSContextInfo contextInfo,
    ReportingPeriodPostUpdateEventArgs e
)

Parameters

Remarks

The ReportingPeriodUpdated event occurs when a time reporting period is created, updated, or deleted. For example, when you change a reporting period from Open to Closed on the Time Reporting Periods page in Project Web App, and then save the page, the ReportingPeriodUpdating and ReportingPeriodUpdated events are triggered.

The UpdateReportingPeriods method triggers the ReportingPeriodUpdated event. The CSOM in Project Server 2013 does not include an equivalent Admin method.

See also

Reference

AdminEventReceiver class

AdminEventReceiver members

Microsoft.Office.Project.Server.Events namespace