Share via


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

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.

See also

Reference

AdminEventReceiver class

AdminEventReceiver members

Microsoft.Office.Project.Server.Events namespace