Partager via


Classe Exec80PackageTask

Contains the members used to configure and run an Execute DTS 2000 Package task, which runs other Microsoft SQL Server 2000 Data Transformation Services (DTS) packages.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime. . :: . .Task
      Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask..::..Exec80PackageTask

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

Syntaxe

'Déclaration
Public NotInheritable Class Exec80PackageTask _
    Inherits Task _
    Implements IDTSComponentPersist, IDTSExec80PackageTask, IDTSBreakpointSite, IDTSSuspend
'Utilisation
Dim instance As Exec80PackageTask
public sealed class Exec80PackageTask : Task, 
    IDTSComponentPersist, IDTSExec80PackageTask, IDTSBreakpointSite, IDTSSuspend
public ref class Exec80PackageTask sealed : public Task, 
    IDTSComponentPersist, IDTSExec80PackageTask, IDTSBreakpointSite, IDTSSuspend
[<SealedAttribute>]
type Exec80PackageTask =  
    class
        inherit Task
        interface IDTSComponentPersist
        interface IDTSExec80PackageTask
        interface IDTSBreakpointSite
        interface IDTSSuspend
    end
public final class Exec80PackageTask extends Task implements IDTSComponentPersist, IDTSExec80PackageTask, IDTSBreakpointSite, IDTSSuspend

Le type Exec80PackageTask expose les membres suivants.

Constructeurs

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

Haut de la page

Propriétés

  Nom Description
Propriété publique DebugMode Gets or sets a Boolean that indicates whether Exec80PackageTask should check if breakpoints are enabled.
Propriété publique DTS2000Package Contains the DTS 2000 package. The package is embedded in the task and stored; there is no external file containing the package.
Propriété publique ExecutionValue Returns a user-defined object. This field is read-only. (hérité de Task.)
Propriété publique Filename Gets or sets the full path and file name of the structured storage file that contains the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.
Propriété publique InnerGlobalVariables Gets or sets a VariablesCollection object that contains global variables that represent the inner variables of the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.
Propriété publique Location Gets or sets a Exec80PackageTask..::..Locations value that indicates the type of storage in which the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by a Exec80PackageTask is located.
Propriété publique OuterGlobalVariables Gets or sets a VariablesCollection object that contains global variables that represent the outer variables of the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.
Propriété publique PackageID Gets or sets the globally unique identifier (GUID) for the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.
Propriété publique PackageName Gets or sets the name of the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.
Propriété publique PackagePassword Gets or sets the package password for the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.
Propriété publique PackageVersionGUID Gets or sets the globally unique identifier (GUID) for the version of the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.
Propriété publique SQLPassword Gets or sets the password of the SQL Server login to be used by the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.
Propriété publique SQLServer Gets or sets the name of the Microsoft SQL Server 2000 instance that contains the Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.
Propriété publique SQLUsername Gets or sets the name of the SQL Server login to be used by the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.
Propriété publique SuspendRequired Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.
Propriété publique Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (hérité de Task.)
Propriété publique WindowsAuthentication Gets or sets a Boolean that indicates whether the Exec80PackageTask should use Windows Authentication when executing the child Microsoft SQL Server 2000 Data Transformation Services (DTS) package.

Haut de la page

Méthodes

  Nom Description
Méthode publique AcceptBreakpointManager Passes a BreakpointManager reference to the Exec80PackageTask task. This method is called by the runtime and is not used in code.
Méthode publique CanUpdate *** Member deprecated; see Remarks. ***    A Boolean that indicates whether the new package XML can update the old package XML. (hérité de Task.)
Méthode publique ClearEmbeddedPackage Removes the stored DTS 2000 package.
Méthode publique EmbedPackage(Package) Embeds the package inside of the Exec80PackageTask.
Méthode publique EmbedPackage(array<Byte> [] () [] []) Embeds the package inside of the Exec80PackageTask.
Méthode publique EmbedPackage(String, String, String, Int32, Boolean, String, String, String, String) Embeds the package inside of the Exec80PackageTask.
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode publique Execute Runs the task. (remplace Task. . :: . .Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object).)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetConnectionID Gets a String containing the ID of the connection. (hérité de Task.)
Méthode publique GetConnectionName Gets a String containing the name of the connection. (hérité de Task.)
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetPackagePassword Returns the package password.
Méthode publique GetSqlPassword Returns the SQL Server password.
Méthode publique GetType (hérité de Object.)
Méthode publique InitializeTask Initializes the properties associated with the Exec80PackageTask task. This method is called by the runtime and is not used in code. (remplace Task. . :: . .InitializeTask(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging, EventInfos, LogEntryInfos, ObjectReferenceTracker).)
Méthode publique LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
Méthode publique LoadPackage Loads a package.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ResumeExecution Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
Méthode publique SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Méthode publique SuspendExecution Called when the executable needs to suspend. This method is called by the runtime engine.
Méthode publique ToString (hérité de Object.)
Méthode publique Update *** Member deprecated; see Remarks. ***    This method updates the old package XML with the new package XML if CanUpdate is set to true. (hérité de Task.)
Méthode publique Validate Verifies that the Exec80PackageTask is properly configured. (remplace Task. . :: . .Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging).)

Haut de la page

Champs

  Nom Description
Champ public Variables Gets or sets the Variables object for the Exec80PackageTask task.

Haut de la page

Notes

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

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.