For custom code the args array is structured as follows:
args[]
is empty.
For .NET Assemblies the method signature is as follows:
bool EventHandlerName(SessionInfo sessionInfo)
The OnScheduledReportExecuteSuccess Event expects a Boolean to be returned. Returning True will prevent the scheduled report from being sent. Returning False will allow the report schedule to proceed with processing.
Note
This server event is called for remote execution of reports. However, the return value will be ignored as there is no email to be prevented.