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
public Object Invoke (
    DTSWebMethodInfo methodInfo,
    string serviceName,
    Object connection,
    VariableDispenser taskVariableDispenser
)
public:
Object^ Invoke (
    DTSWebMethodInfo^ methodInfo, 
    String^ serviceName, 
    Object^ connection, 
    VariableDispenser^ taskVariableDispenser
)
public Object Invoke (
    DTSWebMethodInfo methodInfo, 
    String serviceName, 
    Object connection, 
    VariableDispenser taskVariableDispenser
)
public function Invoke (
    methodInfo : DTSWebMethodInfo, 
    serviceName : String, 
    connection : Object, 
    taskVariableDispenser : VariableDispenser
) : Object

Parameters

  • methodInfo
    A DTSWebMethodInfo that provides information about the Web method to be called.
  • serviceName
    The name of the service.

Return Value

The results from the call to the Web method.

Remarks

Updated text:17 July 2006

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

WebServiceTaskUtil Class
WebServiceTaskUtil Members
Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace

Change History

Release

History

17 July 2006

Changed content:
  • Described the taskVariableDispenser parameter.