Currently, our system will do a "foreach" over all Subscriptions which are returned from the ListSubscriptions method of ReportingService and fire a Timed Subscription event so that they receive the report as an email.
In our dev environment, I don't want every subscription of these reports to be sent out when we are testing.
Is there a way I can create a new subscription with my own email address being used so that I receive the report? The temp subscription could then be deleted after sending.
Any ideas on how to do this?
Ended up figuring out how to do this myself
Created a test subscription using subId = rs.CreateSubscription()
then deleted it after fireEvent("TimedSubscription", subId)
rs.DeleteSubscription(subId)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.