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
<ClassInterfaceAttribute()> _
<GuidAttribute("D952C6E4-FC5B-41F9-B16C-C168F8AC5F5B")> _
Public Class ExecutePackageTaskClass _
    Implements ExecutePackageTask, IDTSExecutePackage100, ISupportErrorInfo
'Utilisation
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

Le type ExecutePackageTaskClass expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ExecutePackageTaskClass Initializes a new instance of the ExecutePackageTask 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 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.
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.