Partager via


Classe WebServiceTask

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly :  Microsoft.SqlServer.WebServiceTask (dans Microsoft.SqlServer.WebServiceTask.dll)

Syntaxe

'Déclaration
Public NotInheritable Class WebServiceTask _
    Inherits Task _
    Implements IDTSComponentPersist, IDTSWebServiceTask, IDTSBreakpointSite, IDTSSuspend
'Utilisation
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

Notes

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

Hiérarchie d'héritage

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.