Share via


ExecutePackageTaskClass Class

Contains the members used to configure and run an Execute Package task, which runs other Integration Services packages.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask.ExecutePackageTaskClass

Namespace:  Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask
Assembly:  Microsoft.SqlServer.ExecPackageTaskWrap (in Microsoft.SqlServer.ExecPackageTaskWrap.dll)

Syntax

'Declaration
<GuidAttribute("1911A4FE-2D38-4A18-8F20-10F605F4AA15")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class ExecutePackageTaskClass _
    Implements ExecutePackageTask, IDTSExecutePackage100, ISupportErrorInfo
'Usage
Dim instance As ExecutePackageTaskClass
[GuidAttribute("1911A4FE-2D38-4A18-8F20-10F605F4AA15")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class ExecutePackageTaskClass : ExecutePackageTask, 
    IDTSExecutePackage100, ISupportErrorInfo
[GuidAttribute(L"1911A4FE-2D38-4A18-8F20-10F605F4AA15")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class ExecutePackageTaskClass : ExecutePackageTask, 
    IDTSExecutePackage100, ISupportErrorInfo
[<GuidAttribute("1911A4FE-2D38-4A18-8F20-10F605F4AA15")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type ExecutePackageTaskClass =  
    class 
        interface ExecutePackageTask 
        interface IDTSExecutePackage100 
        interface ISupportErrorInfo 
    end
public class ExecutePackageTaskClass implements ExecutePackageTask, IDTSExecutePackage100, ISupportErrorInfo

The ExecutePackageTaskClass type exposes the following members.

Constructors

  Name Description
Public method ExecutePackageTaskClass Initializes a new instance of the ExecutePackageTaskClass class.

Top

Properties

  Name Description
Public property Connection Gets or sets the name of the connection used by the ExecutePackageTask.
Public property ExecuteOutOfProcess Gets or sets a value indicating whether the child package to be executed by the ExecutePackageTask should be executed in the same process as the ExecutePackageTask.
Public property PackageID Gets or sets the identifier of the child package to be executed by the ExecutePackageTask.
Public property PackageName Gets or sets the name of the child package to be executed by the ExecutePackageTask.
Public property PackagePassword Sets the password of the child package to be executed by the ExecutePackageTask.
Public property ParameterAssignments Gets the IDTS parameter assignments.
Public property UseProjectReference Gets or sets a value indicating whether the ExecutePackageTaskClass uses project reference.
Public property VersionID Gets or sets the version identifier of the child package to be executed by the ExecutePackageTask.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method InterfaceSupportsErrorInfo Infrastructure. Specifies that an interface on the object supports the error information.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

For more information about the features of this task, see Execute Package Task.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask Namespace