共用方式為


WebServiceTaskUtil.GetWebMethodInfos(String) Method

Definition

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

public:
 cli::array <Microsoft::SqlServer::Dts::Tasks::WebServiceTask::DTSWebMethodInfo ^> ^ GetWebMethodInfos(System::String ^ serviceName);
public Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSWebMethodInfo[] GetWebMethodInfos (string serviceName);
member this.GetWebMethodInfos : string -> Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSWebMethodInfo[]
Public Function GetWebMethodInfos (serviceName As String) As DTSWebMethodInfo()

Parameters

serviceName
String

The name of the service.

Returns

An array of type DTSWebMethodInfo.

Remarks

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.

Applies to