Classe ReportExecutionService
The Reporting Services Execution Web service allows developers to programmatically process and render reports from a report server.
Spazio dei nomi: ReportExecution2005
Assembly: ReportExecution2005 (in ReportExecution2005.dll)
Sintassi
'Dichiarazione
<WebServiceBindingAttribute(Name := "ReportExecutionServiceSoap", Namespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")> _
Public Class ReportExecutionService _
Inherits SoapHttpClientProtocol
'Utilizzo
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
Osservazioni
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.
Esempi
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
Gerarchia di ereditarietà
System. . :: . .Object
System. . :: . .MarshalByRefObject
System.ComponentModel. . :: . .Component
System.Web.Services.Protocols. . :: . .WebClientProtocol
System.Web.Services.Protocols. . :: . .HttpWebClientProtocol
System.Web.Services.Protocols. . :: . .SoapHttpClientProtocol
ReportExecution2005..::..ReportExecutionService
Thread Safety
Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.