⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reference.cs

📁 Professional.SQL.Server.Reporting.Services的随书例子代码
💻 CS
📖 第 1 页 / 共 5 页
字号:
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.573
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 1.1.4322.573.
// 
namespace Subscriptions_CS.localhost_RS {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="ReportingServiceSoap", Namespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices")]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(DataSourceDefinitionOrReference))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExpirationDefinition))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(RecurrencePattern))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ScheduleDefinitionOrReference))]
    public class ReportingService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        public ServerInfoHeader ServerInfoHeaderValue;
        
        public BatchHeader BatchHeaderValue;
        
        public ItemNamespaceHeader ItemNamespaceHeaderValue;
        
        public SessionHeader SessionHeaderValue;
        
        /// <remarks/>
        public ReportingService() {
            this.Url = "http://localhost/ReportServer/ReportService.asmx";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices/ListSe" +
"cureMethods", RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string[] ListSecureMethods() {
            object[] results = this.Invoke("ListSecureMethods", new object[0]);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginListSecureMethods(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("ListSecureMethods", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public string[] EndListSecureMethods(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices/Create" +
"Batch", RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("BatchID")]
        public string CreateBatch() {
            object[] results = this.Invoke("CreateBatch", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginCreateBatch(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("CreateBatch", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public string EndCreateBatch(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("BatchHeaderValue")]
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices/Cancel" +
"Batch", RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void CancelBatch() {
            this.Invoke("CancelBatch", new object[0]);
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginCancelBatch(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("CancelBatch", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public void EndCancelBatch(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("BatchHeaderValue")]
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices/Execut" +
"eBatch", RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void ExecuteBatch() {
            this.Invoke("ExecuteBatch", new object[0]);
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginExecuteBatch(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("ExecuteBatch", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public void EndExecuteBatch(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices/GetSys" +
"temProperties", RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute("Values")]
        public Property[] GetSystemProperties(Property[] Properties) {
            object[] results = this.Invoke("GetSystemProperties", new object[] {
                        Properties});
            return ((Property[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetSystemProperties(Property[] Properties, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetSystemProperties", new object[] {
                        Properties}, callback, asyncState);
        }
        
        /// <remarks/>
        public Property[] EndGetSystemProperties(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((Property[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices/SetSys" +
"temProperties", RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void SetSystemProperties(Property[] Properties) {
            this.Invoke("SetSystemProperties", new object[] {
                        Properties});
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginSetSystemProperties(Property[] Properties, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("SetSystemProperties", new object[] {
                        Properties}, callback, asyncState);
        }
        
        /// <remarks/>
        public void EndSetSystemProperties(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("BatchHeaderValue")]
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices/Delete" +
"Item", RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void DeleteItem(string Item) {
            this.Invoke("DeleteItem", new object[] {
                        Item});
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginDeleteItem(string Item, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("DeleteItem", new object[] {
                        Item}, callback, asyncState);
        }
        
        /// <remarks/>
        public void EndDeleteItem(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("BatchHeaderValue")]
        [System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices/MoveIt" +
"em", RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void MoveItem(string Item, string Target) {
            this.Invoke("MoveItem", new object[] {
                        Item,
                        Target});
        }
        

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -