Класс ReportExecutionService
The Службы Reporting Services Execution Web service allows developers to programmatically process and render reports from a report server.
Иерархия наследования
System. . :: . .Object
System. . :: . .MarshalByRefObject
System.ComponentModel. . :: . .Component
System.Web.Services.Protocols. . :: . .WebClientProtocol
System.Web.Services.Protocols. . :: . .HttpWebClientProtocol
System.Web.Services.Protocols. . :: . .SoapHttpClientProtocol
ReportExecution2005..::..ReportExecutionService
Пространство имен: 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
Тип ReportExecutionService обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
ReportExecutionService | Initializes a new instance of the ReportExecutionService class. |
В начало
Свойства
В начало
Методы
Имя | Описание | |
---|---|---|
Abort | (Производный от WebClientProtocol.) | |
BeginInvoke | (Производный от SoapHttpClientProtocol.) | |
CancelAsync | (Производный от HttpWebClientProtocol.) | |
CreateObjRef | (Производный от MarshalByRefObject.) | |
Discover | (Производный от SoapHttpClientProtocol.) | |
Dispose() () () () | (Производный от Component.) | |
Dispose(Boolean) | (Производный от Component.) | |
EndInvoke | (Производный от SoapHttpClientProtocol.) | |
Equals | (Производный от Object.) | |
Finalize | (Производный от 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 | (Производный от Object.) | |
GetLifetimeService | (Производный от MarshalByRefObject.) | |
GetReaderForMessage | (Производный от SoapHttpClientProtocol.) | |
GetRenderResource | Returns the resource for a specified rendering extension format. | |
GetService | (Производный от Component.) | |
GetType | (Производный от Object.) | |
GetWebRequest | (Производный от SoapHttpClientProtocol.) | |
GetWebResponse(WebRequest) | (Производный от HttpWebClientProtocol.) | |
GetWebResponse(WebRequest, IAsyncResult) | (Производный от HttpWebClientProtocol.) | |
GetWriterForMessage | (Производный от SoapHttpClientProtocol.) | |
InitializeLifetimeService | (Производный от MarshalByRefObject.) | |
Invoke | (Производный от SoapHttpClientProtocol.) | |
InvokeAsync(String, array<Object> [] () [] [], SendOrPostCallback) | (Производный от SoapHttpClientProtocol.) | |
InvokeAsync(String, array<Object> [] () [] [], SendOrPostCallback, Object) | (Производный от 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() () () () | (Производный от Object.) | |
MemberwiseClone(Boolean) | (Производный от 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 | (Производный от Component.) |
В начало
Замечания
You must set the Url and Credentials properties of the web service before making any method calls.
Примеры
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
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.