AdminEventReceiver.OnReportingPeriodUpdated 方法

Admin — ReportingPeriodUpdated事件,Project Server 更新时间报告期后发生本地后期事件处理程序。

命名空间:  Microsoft.Office.Project.Server.Events
程序集:  Microsoft.Office.Project.Server.Events.Receivers(位于 Microsoft.Office.Project.Server.Events.Receivers.dll 中)

语法

声明
Public Overridable Sub OnReportingPeriodUpdated ( _
    contextInfo As PSContextInfo, _
    e As ReportingPeriodPostUpdateEventArgs _
)
用法
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As ReportingPeriodPostUpdateEventArgs

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

参数

备注

报告创建期间,一次更新或删除时, ReportingPeriodUpdated事件发生。例如,在将报告提交时间段从打开更改为已关闭,在Project Web App的时间报告阶段页上,然后保存页面时将触发的ReportingPeriodUpdating和ReportingPeriodUpdated事件。

UpdateReportingPeriods方法触发ReportingPeriodUpdated事件。在Project Server 2013 CSOM 不包括Admin的等效方法。

另请参阅

引用

AdminEventReceiver 类

AdminEventReceiver 成员

Microsoft.Office.Project.Server.Events 命名空间