共用方式為


WebServiceTask Class

Runs a Web method and stores the result in a specified location. This class cannot be inherited.

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

語法

'宣告
Public NotInheritable Class WebServiceTask
    Inherits Task
    Implements IDTSComponentPersist, IDTSWebServiceTask, IDTSBreakpointSite, IDTSSuspend
public sealed class WebServiceTask : Task, IDTSComponentPersist, IDTSWebServiceTask, IDTSBreakpointSite, 
    IDTSSuspend
public ref class WebServiceTask sealed : public Task, IDTSComponentPersist, IDTSWebServiceTask, IDTSBreakpointSite, 
    IDTSSuspend
public final class WebServiceTask extends Task implements IDTSComponentPersist, IDTSWebServiceTask, 
    IDTSBreakpointSite, IDTSSuspend
public final class WebServiceTask extends Task implements IDTSComponentPersist, IDTSWebServiceTask, 
    IDTSBreakpointSite, IDTSSuspend

備註

Using the WebServiceTask class, the task designer can execute a Web method and store the results in a package variable or a file.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Dts.Runtime.DtsObject
     Microsoft.SqlServer.Dts.Runtime.Task
      Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

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