WebServiceTask 類別

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 (在 Microsoft.SqlServer.WebServiceTask.dll 中)

語法

'宣告
Public NotInheritable Class WebServiceTask _
    Inherits Task _
    Implements IDTSComponentPersist, IDTSWebServiceTask, IDTSBreakpointSite, IDTSSuspend
'用途
Dim instance As WebServiceTask
public sealed class WebServiceTask : Task, 
    IDTSComponentPersist, IDTSWebServiceTask, IDTSBreakpointSite, IDTSSuspend
public ref class WebServiceTask sealed : public Task, 
    IDTSComponentPersist, IDTSWebServiceTask, IDTSBreakpointSite, IDTSSuspend
[<SealedAttribute>]
type WebServiceTask =  
    class
        inherit Task
        interface IDTSComponentPersist
        interface IDTSWebServiceTask
        interface IDTSBreakpointSite
        interface IDTSSuspend
    end
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.

繼承階層

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

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。