IDeliveryReportServerInformation arabirimi için bir teslim uzantısı kullanma
The IDeliveryReportServerInformation arabirim exposes several properties that you can use to retrieve information about a rapor sunucusu. Bu bilgiler, bildirimler ve raporlar için kullanabilirsiniz.Teslim uzantısı sınıfını uygularken, uygulamak, ReportServerInformation() özellik gerektirdiği IDeliveryExtension arabirim. The ReportServerInformation() özellik returns an object that implements the IDeliveryReportServerInformation arabirim. Bu nesne şu anda rapor sunucusu tarafından desteklenen işleme uzantılarının bir listesini edinebilirsiniz.
Aşağıdaki for döngü raporu sunucuda şu anda kullanılabilir uzantılarını işleme listesini saklamak için kullanılabilecek bir ArrayList nesnesi.
Dim renderFormats As New ArrayList()
Dim e As Microsoft.ReportingServices.Interfaces.Extension
For Each e In ReportServerInformation.RenderingExtension
If e.Visible Then
renderFormats.Add(e.Name)
End If
Next e
ArrayList renderFormats = new ArrayList();
foreach (Microsoft.ReportingServices.Interfaces.Extension e in ReportServerInformation.RenderingExtension)
{
if (e.Visible)
{
renderFormats.Add(e.Name);
}
}
Hakkında daha fazla bilgi için IDeliveryReportServerInformation arabirim için bkz: IDeliveryReportServerInformation arabirimi için bir teslim uzantısı kullanma.
See Also
Reference
Microsoft.ReportingServices.Interfaces