Compartir a través de


WebServiceTaskUtil.GetWebMethodInfos Método

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Ensamblado:  Microsoft.SqlServer.WebServiceTask (en Microsoft.SqlServer.WebServiceTask.dll)

Sintaxis

'Declaración
Public Function GetWebMethodInfos ( _
    serviceName As String _
) As DTSWebMethodInfo()
'Uso
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[]

Parámetros

Valor devuelto

Tipo: array<Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSWebMethodInfo[]
An array of type DTSWebMethodInfo.

Comentarios

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.

Vea también

Referencia

WebServiceTaskUtil Clase

Espacio de nombres Microsoft.SqlServer.Dts.Tasks.WebServiceTask