📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2032
//
// 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.2032.
//
namespace ControlSQLsrv2000.WSSQLsrv20004 {
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="ConnectDBSoap", Namespace="http://192.168.52.173")]
public class ConnectDB : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public ConnectDB() {
this.Url = "http://192.168.52.173/WSSQLsrv2000/DBService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://192.168.52.173/fnConnect", RequestNamespace="http://192.168.52.173", ResponseNamespace="http://192.168.52.173", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool fnConnect(string sDataSource, string sUserid, string sPassword) {
object[] results = this.Invoke("fnConnect", new object[] {
sDataSource,
sUserid,
sPassword});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginfnConnect(string sDataSource, string sUserid, string sPassword, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("fnConnect", new object[] {
sDataSource,
sUserid,
sPassword}, callback, asyncState);
}
/// <remarks/>
public bool EndfnConnect(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://192.168.52.173/DBList", RequestNamespace="http://192.168.52.173", ResponseNamespace="http://192.168.52.173", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet DBList() {
object[] results = this.Invoke("DBList", new object[0]);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginDBList(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DBList", new object[0], callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndDBList(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://192.168.52.173/ReturnResult", RequestNamespace="http://192.168.52.173", ResponseNamespace="http://192.168.52.173", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet ReturnResult(string sSql) {
object[] results = this.Invoke("ReturnResult", new object[] {
sSql});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginReturnResult(string sSql, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ReturnResult", new object[] {
sSql}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndReturnResult(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://192.168.52.173/SetDBConfigSettings", RequestNamespace="http://192.168.52.173", ResponseNamespace="http://192.168.52.173", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool SetDBConfigSettings(string sDataSource, string sUserid, string sPassword) {
object[] results = this.Invoke("SetDBConfigSettings", new object[] {
sDataSource,
sUserid,
sPassword});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSetDBConfigSettings(string sDataSource, string sUserid, string sPassword, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetDBConfigSettings", new object[] {
sDataSource,
sUserid,
sPassword}, callback, asyncState);
}
/// <remarks/>
public bool EndSetDBConfigSettings(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://192.168.52.173/SetDBName", RequestNamespace="http://192.168.52.173", ResponseNamespace="http://192.168.52.173", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool SetDBName(string sDB) {
object[] results = this.Invoke("SetDBName", new object[] {
sDB});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSetDBName(string sDB, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetDBName", new object[] {
sDB}, callback, asyncState);
}
/// <remarks/>
public bool EndSetDBName(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -