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
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.StatusReportPreDeleteEventArgsThe data for the event.
Return value
Type: Microsoft.Office.Project.Server.Events.StatusReportPreDeleteEventArgs
Implements
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.