AdminEventReceiver.OnStatusReportsDeletedRemote method
A remote post-event receiver for the Admin – StatusReportsDeleted event, which occurs after a timesheet is deleted.
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 OnStatusReportsDeletedRemote ( _
contextInfo As PSContextInfo, _
eventHandlerUid As Guid, _
e As StatusReportPostDeleteEventArgs _
)
'Usage
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
)
Parameters
contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfoContains the Project Server context information.
eventHandlerUid
Type: System.GuidThe GUID of the remote event receiver.
e
Type: Microsoft.Office.Project.Server.Events.StatusReportPostDeleteEventArgsThe data for the event.
Implements
Remarks
The StatusReportsDeleted event occurs when you delete a timesheet on the Manage Timesheets page in Project Web App (in the Time and Task Management section of the PWA Settings page).
The UpdateStatusingSettings method triggers the StatusReportsDeleted event. The CSOM in Project Server 2013 does not include an equivalent Admin method.