共用方式為


AdminEventReceiver.OnStatusReportsDeletedRemote 方法

Admin – StatusReportsDeleted事件,以刪除時程表之後發生遠端後置事件接收器。

命名空間:  Microsoft.Office.Project.Server.Events
組件:  Microsoft.Office.Project.Server.Events.Receivers (在 Microsoft.Office.Project.Server.Events.Receivers.dll 中)

語法

'宣告
Public Overridable Sub OnStatusReportsDeletedRemote ( _
    contextInfo As PSContextInfo, _
    eventHandlerUid As Guid, _
    e As StatusReportPostDeleteEventArgs _
)
'用途
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim eventHandlerUid As Guid
Dim e As StatusReportPostDeleteEventArgs

instance.OnStatusReportsDeletedRemote(contextInfo, _
    eventHandlerUid, e)
public virtual void OnStatusReportsDeletedRemote(
    PSContextInfo contextInfo,
    Guid eventHandlerUid,
    StatusReportPostDeleteEventArgs e
)

參數

  • eventHandlerUid
    類型:System.Guid

    遠端事件接收器的 GUID。

實作

IAdminEventReceiverRemote.OnStatusReportsDeletedRemote(PSContextInfo, Guid, StatusReportPostDeleteEventArgs)

備註

StatusReportsDeleted事件發生於您刪除時程表上Project Web App (在 PWA 設定頁面上的 [時間與任務管理] 區段) 中的 [管理時程表] 頁面。

UpdateStatusingSettings方法會觸發StatusReportsDeleted事件。在Project Server 2013 CSOM 不包含相等Admin方法。

請參閱

參照

AdminEventReceiver 類別

AdminEventReceiver 成員

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