共用方式為


WebServiceTaskUtil Class

Accesses and invokes the Web services. This class is used by both the Microsoft.SqlServer.Dts.Tasks.WebServiceTask and its user interface as a reusable library of functions.

命名空間: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
組件: Microsoft.SqlServer.WebServiceTask (in microsoft.sqlserver.webservicetask.dll)

語法

'宣告
Public Class WebServiceTaskUtil
public class WebServiceTaskUtil
public ref class WebServiceTaskUtil
public class WebServiceTaskUtil
public class WebServiceTaskUtil

備註

The WebServiceTaskUtil provides the functionality to do the following:

  • Download the Web Services Description Language (WSDL) from a given URL.

  • Retrieve services, methods, and parameters information from the WSDL.

  • Create the proxy class and generate an assembly from the proxy class, which is required for invoking the Web method.

  • Invoke the requested Web method on the proxy class using reflection.

The user interfaces that are designed for a task can use this WebServiceTaskUtil for displaying the services, methods, and parameters.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil

執行緒安全性

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 Members
Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace