Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a requirement to make all the reports whichever is getting generated to have the Show all Report in history check box to be true. (Instead of changing for each report individually)

Can any one please suggest on this?
Posted
Updated 16-Jun-15 0:16am
v3

1 solution

I got the answer by trouble shooting the Reporting Services. The below method will change the check box value.

rs.SetItemHistoryOptions(name, true, true, sd);

C#
public void SetItemHistoryOptions(
    string ItemPath,
    bool EnableManualSnapshotCreation,
    bool KeepExecutionSnapshots,
    ScheduleDefinitionOrReference Item
)
 
Share this answer
 

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