Classe ReportExecutionService
The Reporting Services Execution Web service allows developers to programmatically process and render reports from a report server.
Namespace: ReportExecution2005
Assembly: ReportExecution2005 (em ReportExecution2005.dll)
Sintaxe
'Declaração
<WebServiceBindingAttribute(Name := "ReportExecutionServiceSoap", Namespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")> _
Public Class ReportExecutionService _
Inherits SoapHttpClientProtocol
'Uso
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
Comentários
You must set the Url and Credentials properties of the web service before making any method calls.
In SharePoint integrated mode, all methods in the Reporting Services Execution Web service have a 100 second timeout.
Exemplos
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
Hierarquia de herança
System. . :: . .Object
System. . :: . .MarshalByRefObject
System.ComponentModel. . :: . .Component
System.Web.Services.Protocols. . :: . .WebClientProtocol
System.Web.Services.Protocols. . :: . .HttpWebClientProtocol
System.Web.Services.Protocols. . :: . .SoapHttpClientProtocol
ReportExecution2005..::..ReportExecutionService
Segurança de thread
Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.