Share via


AdminEventReceiver.OnStatusReportsDeletingRemote method

A remote pre-event receiver 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 Function OnStatusReportsDeletingRemote ( _
    contextInfo As PSContextInfo, _
    eventHandlerUid As Guid, _
    e As StatusReportPreDeleteEventArgs _
) As StatusReportPreDeleteEventArgs
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim eventHandlerUid As Guid
Dim e As StatusReportPreDeleteEventArgs
Dim returnValue As StatusReportPreDeleteEventArgs

returnValue = instance.OnStatusReportsDeletingRemote(contextInfo, _
    eventHandlerUid, e)
public virtual StatusReportPreDeleteEventArgs OnStatusReportsDeletingRemote(
    PSContextInfo contextInfo,
    Guid eventHandlerUid,
    StatusReportPreDeleteEventArgs e
)

Parameters

  • eventHandlerUid
    Type: System.Guid

    The GUID of the remote event receiver.

Return value

Type: Microsoft.Office.Project.Server.Events.StatusReportPreDeleteEventArgs

Implements

IAdminEventReceiverRemote.OnStatusReportsDeletingRemote(PSContextInfo, Guid, StatusReportPreDeleteEventArgs)

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).

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