AdminEventReceiver.OnStatusReportsDeleting method
A local pre-event handler for the Admin – StatusReportsDeleting event, which occurs before 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 OnStatusReportsDeleting ( _
contextInfo As PSContextInfo, _
e As StatusReportPreDeleteEventArgs _
)
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As StatusReportPreDeleteEventArgs
instance.OnStatusReportsDeleting(contextInfo, _
e)
public virtual void OnStatusReportsDeleting(
PSContextInfo contextInfo,
StatusReportPreDeleteEventArgs e
)
Parameters
contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfoContains the Project Server context information.
e
Type: Microsoft.Office.Project.Server.Events.StatusReportPreDeleteEventArgsThe data for the event.
Remarks
The StatusReportsDeleting 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).
A pre-event handler for the UpdateStatusingSettings method.
The UpdateStatusingSettings method triggers the StatusReportsDeleting event. The CSOM in Project Server 2013 does not include an equivalent Admin method.