Task Class
Defines an abstract class that implements the methods and properties common to all tasks in Integration Services.
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Microsoft.SqlServer.Dts.Runtime::DtsObject
Microsoft.SqlServer.Dts.Runtime::Task
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask::ASTaskBase
Microsoft.SqlServer.Dts.Tasks.BulkInsertTask::BulkInsertTask
Microsoft.SqlServer.Dts.Tasks.DataProfilingTask::DataProfilingTask
Microsoft.SqlServer.Dts.Tasks.DMQueryTask::DMQueryTask
Microsoft.SqlServer.Dts.Tasks.ExecuteProcess::ExecuteProcess
Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask::ExecuteSQLTask
Microsoft.SqlServer.Dts.Tasks.ExpressionTask::ExpressionTask
Microsoft.SqlServer.Dts.Tasks.FileSystemTask::FileSystemTask
Microsoft.SqlServer.Dts.Tasks.FtpTask::FtpTask
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask::MessageQueueTask
Microsoft.SqlServer.Dts.Tasks.ScriptTask::ScriptTask
Microsoft.SqlServer.Dts.Tasks.SendMailTask::SendMailTask
Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask::TransferDatabaseTask
Microsoft.SqlServer.Dts.Tasks.TransferErrorMessagesTask::TransferErrorMessagesTask
Microsoft.SqlServer.Dts.Tasks.TransferJobsTask::TransferJobsTask
Microsoft.SqlServer.Dts.Tasks.TransferLoginsTask::TransferLoginsTask
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask::TransferSqlServerObjectsTask
Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTask::TransferStoredProceduresTask
Microsoft.SqlServer.Dts.Tasks.WebServiceTask::WebServiceTask
Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask::WmiDataReaderTask
Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask::WmiEventWatcherTask
Microsoft.SqlServer.Dts.Tasks.XMLTask::XMLTask
| Name | Description | |
|---|---|---|
![]() | Task() | Initializes a new instance of the Task class. |
| Name | Description | |
|---|---|---|
![]() | ExecutionValue | Returns a user-defined object. This field is read-only. |
![]() | TargetServerVersion | |
![]() | Version | *** Member deprecated; see Remarks. *** Returns the version of the task. This property is read-only. |
| Name | Description | |
|---|---|---|
![]() | CanUpdate(String^) | *** Member deprecated; see Remarks. *** A Boolean that indicates whether the new package XML can update the old package XML. |
![]() | Equals(Object^) | Determines whether two object instances are equal.(Inherited from DtsObject.) |
![]() | Execute(Connections^, VariableDispenser^, IDTSComponentEvents^, IDTSLogging^, Object^) | Runs the task. |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetConnectionID(Connections^, String^) | Gets a String containing the ID of the connection. |
![]() | GetConnectionName(Connections^, String^) | Gets a String containing the name of the connection. |
![]() | GetHashCode() | Returns the hash code for this instance.(Inherited from DtsObject.) |
![]() | GetType() | (Inherited from Object.) |
![]() | InitializeTask(Connections^, VariableDispenser^, IDTSInfoEvents^, IDTSLogging^, EventInfos^, LogEntryInfos^, ObjectReferenceTracker^) | Initializes the properties associated with the task. This method is called by the runtime and is not used in code. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | Update(String^%) | *** Member deprecated; see Remarks. *** This method updates the old package XML with the new package XML if CanUpdate is set to true. |
![]() | Validate(Connections^, VariableDispenser^, IDTSComponentEvents^, IDTSLogging^) | Verifies that the component is properly configured. |
A package consists of one or more tasks. These tasks define units of work that are performed as part of copying and transforming data, communicating with other processes, and performing database management functions.
Inherits from DtsObject and IDTSManagedTask.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


