ReportExecutionService クラス

Reporting Services 実行 Web サービスにより、開発者はレポート サーバーからレポートをプログラムによって処理し、表示できます。

名前空間:  ReportExecution2005
アセンブリ:  ReportExecution2005 (ReportExecution2005.dll)

構文

'宣言
<WebServiceBindingAttribute(Name := "ReportExecutionServiceSoap", Namespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")> _
Public Class ReportExecutionService _
    Inherits SoapHttpClientProtocol
'使用
Dim instance As ReportExecutionService
[WebServiceBindingAttribute(Name = "ReportExecutionServiceSoap", Namespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")]
public class ReportExecutionService : SoapHttpClientProtocol
[WebServiceBindingAttribute(Name = L"ReportExecutionServiceSoap", Namespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")]
public ref class ReportExecutionService : public SoapHttpClientProtocol
[<WebServiceBindingAttribute(Name = "ReportExecutionServiceSoap", Namespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")>]
type ReportExecutionService =  
    class
        inherit SoapHttpClientProtocol
    end
public class ReportExecutionService extends SoapHttpClientProtocol

説明

任意のメソッドを呼び出す前に、Web サービスの Url プロパティと Credentials プロパティを設定する必要があります。

SharePoint 統合モードでは、Reporting Services 実行 Web サービスにおけるすべてのメソッドのタイムアウト値が 100 秒に設定されています。

使用例

Dim rs As New myNamespace.myReferenceName.ReportExecutionService()
rs.Url = "http://myservername.reportserver/ReportExecution2005.asmx?wsdl"
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
myNamespace.myReferenceName.ReportExecutionService rs = new myNamespace.myReferenceName.ReportExecutionService();
rs.Url = "http://myservername.reportserver/reportexecution2005.asmx?wsdl"
rs.Credentials = System.Net.CredentialCache.DefaultCredentials

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。