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
<ClassInterfaceAttribute()> _
<GuidAttribute("D952C6E4-FC5B-41F9-B16C-C168F8AC5F5B")> _
Public Class ExecutePackageTaskClass _
    Implements ExecutePackageTask, IDTSExecutePackage100, ISupportErrorInfo
'Usage
Dim instance As ExecutePackageTaskClass
[ClassInterfaceAttribute()]
[GuidAttribute("D952C6E4-FC5B-41F9-B16C-C168F8AC5F5B")]
public class ExecutePackageTaskClass : ExecutePackageTask, 
    IDTSExecutePackage100, ISupportErrorInfo
[ClassInterfaceAttribute()]
[GuidAttribute(L"D952C6E4-FC5B-41F9-B16C-C168F8AC5F5B")]
public ref class ExecutePackageTaskClass : ExecutePackageTask, 
    IDTSExecutePackage100, ISupportErrorInfo
[<ClassInterfaceAttribute()>]
[<GuidAttribute("D952C6E4-FC5B-41F9-B16C-C168F8AC5F5B")>]
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 ExecutePackageTask 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 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.
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.