如何以编程方式在SSRS报告上设置“在列表视图中隐藏”

时间:2012-12-04 09:43:15

标签: reporting-services

使用 ReportingService2005 - CreateReport方法,可以在报表服务器上创建报表。但是如何将隐藏在列表视图中检查框的值设置为true?

enter image description here

1 个答案:

答案 0 :(得分:1)

我终于明白了:-) 如果有人需要它:

var properties = new Property[1];
var hidden = new Property { Name = "Hidden", Value = "True" };
properties[0] = hidden;

Warning[] warnings = ReportingService.CreateReport(fileNameWithoutExtension, ssrsFolder, true, fileContents, properties);