WebServiceTaskUtil.Invoke Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.