GetWebMethodInfos 方法

Gets an array that contains all the methods available in a service.

命名空间:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
程序集:  Microsoft.SqlServer.WebServiceTask(在 Microsoft.SqlServer.WebServiceTask.dll 中)

语法

声明
Public Function GetWebMethodInfos ( _
    serviceName As String _
) As DTSWebMethodInfo()
用法
Dim instance As WebServiceTaskUtil
Dim serviceName As String
Dim returnValue As DTSWebMethodInfo()

returnValue = instance.GetWebMethodInfos(serviceName)
public DTSWebMethodInfo[] GetWebMethodInfos(
    string serviceName
)
public:
array<DTSWebMethodInfo^>^ GetWebMethodInfos(
    String^ serviceName
)
member GetWebMethodInfos : 
        serviceName:string -> DTSWebMethodInfo[] 
public function GetWebMethodInfos(
    serviceName : String
) : DTSWebMethodInfo[]

参数

返回值

类型:array<Microsoft.SqlServer.Dts.Tasks.WebServiceTask. . :: . .DTSWebMethodInfo> [] () [] []
An array of type DTSWebMethodInfo.

注释

Use the GetServices method to get a list of all the services available. From that list, you can pick a service you are interested in, and use the GetWebMethodInfos to get an array of all the methods in that service.