Compartilhar via


Classe WebServiceTask

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

Namespace:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly:  Microsoft.SqlServer.WebServiceTask (em Microsoft.SqlServer.WebServiceTask.dll)

Sintaxe

'Declaração
Public NotInheritable Class WebServiceTask _
    Inherits Task _
    Implements IDTSComponentPersist, IDTSWebServiceTask, IDTSBreakpointSite, IDTSSuspend
'Uso
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

Comentários

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

Hierarquia de herança

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.