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
- methodInfo
Type: Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSWebMethodInfo
A DTSWebMethodInfo that provides information about the Web method to be called.
- serviceName
Type: System.String
The name of the service.
- connection
Type: System.Object
An HttpClientConnection that provides the URL for the Web service.
- taskVariableDispenser
Type: Microsoft.SqlServer.Dts.Runtime.VariableDispenser
The VariableDispenser associated with the task.
Return Value
Type: System.Object
The results from the call to the Web method.