共用方式為


AdminEventReceiver.OnReportingPeriodUpdating Method

A pre-event handler for the UpdateReportingPeriods method.

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 OnReportingPeriodUpdating ( _
    contextInfo As PSContextInfo, _
    e As ReportingPeriodPreUpdateEventArgs _
)
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As ReportingPeriodPreUpdateEventArgs

instance.OnReportingPeriodUpdating(contextInfo, _
    e)
public virtual void OnReportingPeriodUpdating(
    PSContextInfo contextInfo,
    ReportingPeriodPreUpdateEventArgs e
)

Parameters

Remarks

For information about creating an event handler, see How to: Create a Project Server Event Handler and Log an Event.

See Also

Reference

AdminEventReceiver Class

AdminEventReceiver Members

Microsoft.Office.Project.Server.Events Namespace