Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created new subscription with delivery method is "Report Email Server"

I provided email delivery option Email TO. I did not enter Email CC and Email BCC.

Programmatically I retrieved data using "GetSubscriptionProperties()" method.

I want set Email CC but output parameter "ExtensionSettings"."ParameterValues collection does not have reference to CC because original subscription had Email To only.

How do I set Email CC using "SetSubscriptionProperties()" method ?

What I have tried:

C#
var ret = rsClient.GetSubscriptionProperties(SubscriptionIDs[i], out es, out description, out objAS, out status, out eventtype, out matchdata, out pv);
                        
((WE.SSRSAdministration.SSRSServer.ParameterValue)(es.ParameterValues[0])).Value = EmailTo;
((WE.SSRSAdministration.SSRSServer.ParameterValue)(es.ParameterValues[2])).Value = Render;
rsClient.SetSubscriptionProperties(SubscriptionIDs[i], es, description, eventtype, matchdata, pv);
Posted
Updated 24-Jul-20 0:39am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900