📄 securedatabaseservice.vb
字号:
'------------------------------------------------------------------------------
' <autogenerated>
' This code was generated by a tool.
' Runtime Version: 1.0.2914.16
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization
'
'This source code was auto-generated by wsdl, Version=1.0.2914.16.
'
Namespace TYASPNET.Clients
Public Class <System.Web.Services.WebServiceBindingAttribute(Name:="SecureDatabaseServiceSoap", [Namespace]:="http://tempuri.org/")> _
SecureDatabaseService
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
Public AuthenticatorValue As Authenticator
Public Sub New()
MyBase.New
Me.Url = "http://localhost/tyaspnet21days/day17/SecureDatabaseService.asmx"
End Sub
Public Function <System.Web.Services.Protocols.SoapHeaderAttribute("AuthenticatorValue"), _
System.Diagnostics.DebuggerStepThroughAttribute(), _
System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SelectSQL")> _
SelectSQL(ByVal strSelect As String) As System.Data.DataSet
Dim results() As Object = Me.Invoke("SelectSQL", New Object() {strSelect})
Return CType(results(0),System.Data.DataSet)
End Function
Public Function <System.Diagnostics.DebuggerStepThroughAttribute()> _
BeginSelectSQL(ByVal strSelect As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("SelectSQL", New Object() {strSelect}, callback, asyncState)
End Function
Public Function <System.Diagnostics.DebuggerStepThroughAttribute()> _
EndSelectSQL(ByVal asyncResult As System.IAsyncResult) As System.Data.DataSet
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),System.Data.DataSet)
End Function
Public Function <System.Diagnostics.DebuggerStepThroughAttribute(), _
System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ExecuteNonQuery")> _
ExecuteNonQuery(ByVal strQuery As String) As Boolean
Dim results() As Object = Me.Invoke("ExecuteNonQuery", New Object() {strQuery})
Return CType(results(0),Boolean)
End Function
Public Function <System.Diagnostics.DebuggerStepThroughAttribute()> _
BeginExecuteNonQuery(ByVal strQuery As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("ExecuteNonQuery", New Object() {strQuery}, callback, asyncState)
End Function
Public Function <System.Diagnostics.DebuggerStepThroughAttribute()> _
EndExecuteNonQuery(ByVal asyncResult As System.IAsyncResult) As Boolean
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),Boolean)
End Function
End Class
Public Class <System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://tempuri.org/", IsNullable:=false)> _
Authenticator
Inherits SoapHeader
Public Username As String
Public Password As String
End Class
End Namespace
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -