배달 확장 프로그램에 대해 IDeliveryReportServerInformation 인터페이스 사용

IDeliveryReportServerInformation 인터페이스는 보고서 서버에 대한 정보를 검색하는 데 사용할 수 있는 여러 가지 속성을 표시합니다. 이 정보를 사용하여 알림 및 보고서를 배달할 수 있습니다. 배달 확장 프로그램 클래스를 구현하는 경우 IDeliveryExtension 인터페이스에서 필요한 ReportServerInformation 속성을 구현합니다. ReportServerInformation 속성은 IDeliveryReportServerInformation 인터페이스를 구현하는 개체를 반환합니다. 이 개체로부터 보고서 서버에서 현재 지원하는 렌더링 확장 프로그램 목록을 구할 수 있습니다.

다음 for 루프를 사용하여 보고서 서버의 ArrayList 개체에서 현재 사용 가능한 렌더링 확장 프로그램 목록을 저장할 수 있습니다.

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);
   }
}

IDeliveryReportServerInformation 인터페이스에 대한 자세한 내용은 배달 확장 프로그램에 대해 IDeliveryReportServerInformation 인터페이스 사용을 참조하십시오.

참고 항목

참조

Microsoft.ReportingServices.Interfaces

Reporting Services 확장 프로그램 라이브러리

관련 자료

배달 확장 프로그램 구현