WebServiceTaskUtil.Invoke Method

Definition

Calls the specified Web method with the supplied parameters.

public:
 System::Object ^ Invoke(Microsoft::SqlServer::Dts::Tasks::WebServiceTask::DTSWebMethodInfo ^ methodInfo, System::String ^ serviceName, System::Object ^ connection, Microsoft::SqlServer::Dts::Runtime::VariableDispenser ^ taskVariableDispenser);
public object Invoke (Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSWebMethodInfo methodInfo, string serviceName, object connection, Microsoft.SqlServer.Dts.Runtime.VariableDispenser taskVariableDispenser);
member this.Invoke : Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSWebMethodInfo * string * obj * Microsoft.SqlServer.Dts.Runtime.VariableDispenser -> obj
Public Function Invoke (methodInfo As DTSWebMethodInfo, serviceName As String, connection As Object, taskVariableDispenser As VariableDispenser) As Object

Parameters

methodInfo
DTSWebMethodInfo

A DTSWebMethodInfo that provides information about the Web method to be called.

serviceName
String

The name of the service.

connection
Object

An HttpClientConnection that provides the URL for the Web service.

taskVariableDispenser
VariableDispenser

The VariableDispenser associated with the task.

Returns

The results from the call to the Web method.

Applies to