WebServiceTask Members

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

The following tables list the members exposed by the WebServiceTask type.

Public Constructors

  Name Description
WebServiceTask Initializes a new instance of the WebServiceTask class.

Top

Public Properties

  Name Description
ms215219.pubproperty(en-US,SQL.90).gif Connection Gets or sets the name of the connection to use.
ms215219.pubproperty(en-US,SQL.90).gif DebugMode Gets or sets a Boolean that indicates if the task is in debug mode. The DebugMode property can be accessed by multiple threads at the same time. To ensure thread safety and avoid concurrency problems, the Interlocked class from the Microsoft .NET Framework is used.
ms215219.pubproperty(en-US,SQL.90).gif ExecutionValue  Returns a user-defined object. This field is read-only. (inherited from Task)
ms215219.pubproperty(en-US,SQL.90).gif OutputLocation Gets or sets the output location of the results of the Web method.
ms215219.pubproperty(en-US,SQL.90).gif OutputType Gets or sets a value that indicates the storage location of the result of the Web method invocation.
ms215219.pubproperty(en-US,SQL.90).gif OverwriteWsdlFile Gets or sets a value that indicates if the Web Services Description Language (WDSL) file will be overwritten.
ms215219.pubproperty(en-US,SQL.90).gif ServiceName Gets or sets the name of the Web service.
ms215219.pubproperty(en-US,SQL.90).gif SuspendRequired Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.
ms215219.pubproperty(en-US,SQL.90).gif Version  Returns the version of the task. This property is read-only. (inherited from Task)
ms215219.pubproperty(en-US,SQL.90).gif WaitForMe  Returns a Boolean that indicates whether the parent container should wait for completion of this task. This property is read-only. (inherited from Task)
ms215219.pubproperty(en-US,SQL.90).gif WebMethodInfo Gets or sets a DTSWebMethodInfo object.
ms215219.pubproperty(en-US,SQL.90).gif WsdlFile Gets or sets the name of a Web Services Description Language (WSDL) file that is to be read from either a file URL or an HTTP URL.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms215219.pubmethod(en-US,SQL.90).gif AcceptBreakpointManager Passes a BreakpointManager to the task. The task will use the breakpoint manager to create, remove, and check the status of breakpoints. This method is called by the runtime and is not used in code.
ms215219.pubmethod(en-US,SQL.90).gif CanUpdate  (inherited from Task )
ms215219.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms215219.pubmethod(en-US,SQL.90).gif Execute Overridden. Runs the web service task.
ms215219.pubmethod(en-US,SQL.90).gif GetConnectionID  (inherited from Task )
ms215219.pubmethod(en-US,SQL.90).gif GetConnectionName  (inherited from Task )
ms215219.pubmethod(en-US,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms215219.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms215219.pubmethod(en-US,SQL.90).gif InitializeTask Overridden. Initializes the properties associated with the web service task. This method is called by the runtime and is not used in code.
ms215219.pubmethod(en-US,SQL.90).gif LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
ms215219.pubmethod(en-US,SQL.90).gifms215219.static(en-US,SQL.90).gif op_Equality  (inherited from DtsObject )
ms215219.pubmethod(en-US,SQL.90).gifms215219.static(en-US,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms215219.pubmethod(en-US,SQL.90).gifms215219.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms215219.pubmethod(en-US,SQL.90).gif ResumeExecution Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
ms215219.pubmethod(en-US,SQL.90).gif SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
ms215219.pubmethod(en-US,SQL.90).gif SuspendExecution Indicates that the executable needs to suspend. This method is called by the runtime engine.
ms215219.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )
ms215219.pubmethod(en-US,SQL.90).gif Update  (inherited from Task )
ms215219.pubmethod(en-US,SQL.90).gif Validate Overridden. Verifies that the web service component is properly configured.

Top

Protected Methods

  Name Description
ms215219.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms215219.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

WebServiceTask Class
Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace