This topic has not yet been rated - Rate this topic

Using the IDeliveryReportServerInformation Interface for a Delivery Extension

The IDeliveryReportServerInformation interface exposes several properties that you can use to retrieve information about a report server. You can use this information to deliver notifications and reports. When implementing your delivery extension class, you implement the ReportServerInformation property as required by the IDeliveryExtension interface. The ReportServerInformation property returns an object that implements the IDeliveryReportServerInformation interface. From this object you can get a list of rendering extensions currently supported by the report server.

The following for loop could be used to store a list of rendering extensions currently available on the report server in an ArrayList object.

ArrayList renderFormats = new ArrayList();
foreach (Microsoft.ReportingServices.Interfaces.Extension e in ReportServerInformation.RenderingExtension)
{ 
   if (e.Visible)
   {
      renderFormats.Add(e.Name);
   }
}
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.