Udostępnij za pośrednictwem


WebServiceTask Class

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 (in microsoft.sqlserver.webservicetask.dll)

Syntax

'Declaration
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

Remarks

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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