Classe ReportExecutionService
The Reporting Services Execution Web service allows developers to programmatically process and render reports from a report server.
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
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
O tipo ReportExecutionService expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ReportExecutionService | Initializes a new instance of the ReportExecutionService class. |
Início
Propriedades
Início
Métodos
Nome | Descrição | |
---|---|---|
Abort | (Herdado de WebClientProtocol.) | |
BeginInvoke | (Herdado de SoapHttpClientProtocol.) | |
CancelAsync | (Herdado de HttpWebClientProtocol.) | |
CreateObjRef | (Herdado de MarshalByRefObject.) | |
Discover | (Herdado de SoapHttpClientProtocol.) | |
Dispose() () () () | (Herdado de Component.) | |
Dispose(Boolean) | (Herdado de Component.) | |
EndInvoke | (Herdado de SoapHttpClientProtocol.) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Component.) | |
FindString | Returns the logical page number of the next occurrence of the specified string. | |
GetDocumentMap | Returns the representation of the document map for the execution. | |
GetExecutionInfo | Returns information about the report execution. | |
GetExecutionInfo2 | Returns information about the report execution. | |
GetHashCode | (Herdado de Object.) | |
GetLifetimeService | (Herdado de MarshalByRefObject.) | |
GetReaderForMessage | (Herdado de SoapHttpClientProtocol.) | |
GetRenderResource | Returns the resource for a specified rendering extension format. | |
GetService | (Herdado de Component.) | |
GetType | (Herdado de Object.) | |
GetWebRequest | (Herdado de SoapHttpClientProtocol.) | |
GetWebResponse(WebRequest) | (Herdado de HttpWebClientProtocol.) | |
GetWebResponse(WebRequest, IAsyncResult) | (Herdado de HttpWebClientProtocol.) | |
GetWriterForMessage | (Herdado de SoapHttpClientProtocol.) | |
InitializeLifetimeService | (Herdado de MarshalByRefObject.) | |
Invoke | (Herdado de SoapHttpClientProtocol.) | |
InvokeAsync(String, array<Object> [] () [] [], SendOrPostCallback) | (Herdado de SoapHttpClientProtocol.) | |
InvokeAsync(String, array<Object> [] () [] [], SendOrPostCallback, Object) | (Herdado de SoapHttpClientProtocol.) | |
ListRenderingExtensions | Returns a list of rendering extensions. | |
ListSecureMethods | Returns a list of SOAP methods that require a secure (SSL) connection when invoked. | |
LoadDrillthroughTarget | Creates a report execution from a drillthrough action. | |
LoadDrillthroughTarget2 | Creates a report execution from a drillthrough action. | |
LoadReport | Loads a report from the report server into a new execution. | |
LoadReport2 | Loads a report from the report server into a new execution. | |
LoadReportDefinition | Creates a report execution from a report definition supplied by the client. | |
LoadReportDefinition2 | Creates a report execution from a report definition supplied by the client. | |
Logoff | Logs out the current user making Web service requests. | |
LogonUser | Logs on a user and authenticates a user request to the Report Server Web service. | |
MemberwiseClone() () () () | (Herdado de Object.) | |
MemberwiseClone(Boolean) | (Herdado de MarshalByRefObject.) | |
NavigateBookmark | Navigates to a specific bookmark in the report. | |
NavigateDocumentMap | Navigates to a specific section of the report. | |
Render | Processes a specific report and renders it in the specified format. | |
Render2 | Processes a specific report and renders it in the specified format. | |
RenderStream | Gets a secondary rendering stream associated with a processed report. | |
ResetExecution | Resets the current report execution by clearing the snapshot and resetting the session state. | |
ResetExecution2 | Resets the current report execution by clearing the snapshot and resetting the session state. | |
SetExecutionCredentials | Sets the credentials associated with the current report execution. | |
SetExecutionCredentials2 | Sets the credentials associated with the current report execution. | |
SetExecutionParameters | Sets and validates parameter values associated with the current report execution. | |
SetExecutionParameters2 | Sets and validates parameter values associated with the current report execution. | |
Sort | Applies or removes a sort for the execution based on a user sort action. | |
Sort2 | Applies or removes a sort for the execution based on a user sort action. | |
ToggleItem | Toggles the show/hide item in a report. | |
ToString | (Herdado de Component.) |
Início
Comentários
You must set the Url and Credentials properties of the web service before making any method calls.
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
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.