Método Invoke
Calls the specified Web method with the supplied parameters.
Namespace: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly: Microsoft.SqlServer.WebServiceTask (em Microsoft.SqlServer.WebServiceTask.dll)
Sintaxe
'Declaração
Public Function Invoke ( _
methodInfo As DTSWebMethodInfo, _
serviceName As String, _
connection As Object, _
taskVariableDispenser As VariableDispenser _
) As Object
'Uso
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
Parâmetros
- methodInfo
Tipo: Microsoft.SqlServer.Dts.Tasks.WebServiceTask. . :: . .DTSWebMethodInfo
A DTSWebMethodInfo that provides information about the Web method to be called.
- serviceName
Tipo: System. . :: . .String
The name of the service.
- connection
Tipo: System. . :: . .Object
An HttpClientConnection that provides the URL for the Web service.
- taskVariableDispenser
Tipo: Microsoft.SqlServer.Dts.Runtime. . :: . .VariableDispenser
The VariableDispenser associated with the task.
Valor de retorno
Tipo: System. . :: . .Object
The results from the call to the Web method.
Consulte também