Partager via


Classe ExecutePackageTaskClass

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask
Assembly :  Microsoft.SqlServer.ExecPackageTaskWrap (en Microsoft.SqlServer.ExecPackageTaskWrap.dll)

Syntaxe

'Déclaration
<GuidAttribute("1911A4FE-2D38-4A18-8F20-10F605F4AA15")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class ExecutePackageTaskClass _
    Implements ExecutePackageTask, IDTSExecutePackage100, ISupportErrorInfo
'Utilisation
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

Le type ExecutePackageTaskClass expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ExecutePackageTaskClass Initializes a new instance of the ExecutePackageTaskClass class.

Haut de la page

Propriétés

  Nom Description
Propriété publique Connection Gets or sets the name of the connection used by the ExecutePackageTask.
Propriété publique 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.
Propriété publique PackageID Gets or sets the identifier of the child package to be executed by the ExecutePackageTask.
Propriété publique PackageName Gets or sets the name of the child package to be executed by the ExecutePackageTask.
Propriété publique PackagePassword Sets the password of the child package to be executed by the ExecutePackageTask.
Propriété publique ParameterAssignments Gets the IDTS parameter assignments.
Propriété publique UseProjectReference Gets or sets a value indicating whether the ExecutePackageTaskClass uses project reference.
Propriété publique VersionID Gets or sets the version identifier of the child package to be executed by the ExecutePackageTask.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique InterfaceSupportsErrorInfo Infrastructure. Specifies that an interface on the object supports the error information.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

For more information about the features of this task, see Tâche d'exécution de package.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask