Share via


WebServiceTaskUtil.Invoke Method

Calls the specified Web method with the supplied parameters.

Namespace:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly:  Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.dll)

Syntax

'Declaration
Public Function Invoke ( _
    methodInfo As DTSWebMethodInfo, _
    serviceName As String, _
    connection As Object, _
    taskVariableDispenser As VariableDispenser _
) As Object
'Usage
Dim instance As WebServiceTaskUtil 
Dim methodInfo As DTSWebMethodInfo 
Dim serviceName As String 
Dim connection As Object 
Dim taskVariableDispenser As VariableDispenser 
Dim returnValue As Object 

returnValue = instance.Invoke(methodInfo, _
    serviceName, connection, taskVariableDispenser)
public Object Invoke(
    DTSWebMethodInfo methodInfo,
    string serviceName,
    Object connection,
    VariableDispenser taskVariableDispenser
)
public:
Object^ Invoke(
    DTSWebMethodInfo^ methodInfo, 
    String^ serviceName, 
    Object^ connection, 
    VariableDispenser^ taskVariableDispenser
)
member Invoke : 
        methodInfo:DTSWebMethodInfo * 
        serviceName:string * 
        connection:Object * 
        taskVariableDispenser:VariableDispenser -> Object
public function Invoke(
    methodInfo : DTSWebMethodInfo, 
    serviceName : String, 
    connection : Object, 
    taskVariableDispenser : VariableDispenser
) : Object

Parameters

Return Value

Type: System.Object
The results from the call to the Web method.

See Also

Reference

WebServiceTaskUtil Class

Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace