WebServiceTaskUtil.Invoke Method

Calls the specified Web method with the supplied parameters.

命名空间: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
程序集: Microsoft.SqlServer.WebServiceTask (in microsoft.sqlserver.webservicetask.dll)

语法

声明
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

参数

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

返回值

The results from the call to the Web method.

备注

已更新的文本:2006 年 7 月 17 日

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

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