AdminEventReceiver.OnReportingPeriodUpdatingRemote 方法
Admin – ReportingPeriodUpdating事件發生在 Project Server 更新時程表期間本機前的事件處理常式。
命名空間: Microsoft.Office.Project.Server.Events
組件: Microsoft.Office.Project.Server.Events.Receivers (在 Microsoft.Office.Project.Server.Events.Receivers.dll 中)
語法
'宣告
Public Overridable Function OnReportingPeriodUpdatingRemote ( _
contextInfo As PSContextInfo, _
eventHandlerUid As Guid, _
e As ReportingPeriodPreUpdateEventArgs _
) As ReportingPeriodPreUpdateEventArgs
'用途
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
)
參數
contextInfo
類型:Microsoft.Office.Project.Server.Library.PSContextInfo包含 Project Server 內容資訊。
eventHandlerUid
類型:System.Guid遠端事件接收器的 GUID。
傳回值
類型:Microsoft.Office.Project.Server.Events.ReportingPeriodPreUpdateEventArgs
實作
備註
ReportingPeriodUpdating事件會在報告期間建立、 更新或刪除的時間之前發生。例如,當您變更報表期間開啟已關閉Project Web App,[時程表期間] 頁面上,然後儲存] 頁面上,則ReportingPeriodUpdating及ReportingPeriodUpdated事件觸發。
UpdateReportingPeriods方法會觸發ReportingPeriodUpdating事件。在Project Server 2013 CSOM 不包含相等Admin方法。