Share via


AdminEventReceiver.OnReportingPeriodUpdatingRemote method

A local pre-event handler for the Admin – ReportingPeriodUpdating event, which occurs before 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 Function OnReportingPeriodUpdatingRemote ( _
    contextInfo As PSContextInfo, _
    eventHandlerUid As Guid, _
    e As ReportingPeriodPreUpdateEventArgs _
) As ReportingPeriodPreUpdateEventArgs
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim eventHandlerUid As Guid
Dim e As ReportingPeriodPreUpdateEventArgs
Dim returnValue As ReportingPeriodPreUpdateEventArgs

returnValue = instance.OnReportingPeriodUpdatingRemote(contextInfo, _
    eventHandlerUid, e)
public virtual ReportingPeriodPreUpdateEventArgs OnReportingPeriodUpdatingRemote(
    PSContextInfo contextInfo,
    Guid eventHandlerUid,
    ReportingPeriodPreUpdateEventArgs e
)

Parameters

  • eventHandlerUid
    Type: System.Guid

    The GUID of the remote event receiver.

Return value

Type: Microsoft.Office.Project.Server.Events.ReportingPeriodPreUpdateEventArgs

Implements

IAdminEventReceiverRemote.OnReportingPeriodUpdatingRemote(PSContextInfo, Guid, ReportingPeriodPreUpdateEventArgs)

Remarks

The ReportingPeriodUpdating event occurs before 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 ReportingPeriodUpdating 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