You can create a property with the name "Description" and include that in the set of optional properties when you publish the report using CreateReport():
ReportingService2005 rs2005 = new ReportingService2005();
rs2005.UseDefaultCredentials = true;
Property description = new Property();
description.Name = "Description";
description.Value = "This is a super cool report!";
byte[] reportDefinition = File.ReadAllBytes(@."e:\testreports\r1.rdl");
rs2005.CreateReport("r1", "/", true, reportDefinition, new Property[] { description });
No comments:
Post a Comment