Partager via


Classe RunningPackage

Provides a reference to the run-time package to use from the Integration Services service. This class cannot be inherited.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.RunningPackage

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public NotInheritable Class RunningPackage _
    Inherits DtsObject
'Utilisation
Dim instance As RunningPackage
public sealed class RunningPackage : DtsObject
public ref class RunningPackage sealed : public DtsObject
[<SealedAttribute>]
type RunningPackage =  
    class 
        inherit DtsObject 
    end
public final class RunningPackage extends DtsObject

Le type RunningPackage expose les membres suivants.

Propriétés

  Nom Description
Propriété publique ExecutionDuration Returns an Integer that specifies how long the package took to run.
Propriété publique ExecutionStartTime Returns the time that the package started running.
Propriété publique InstanceID Returns the unique ID associated with this instance of the running object. This field is read-only.
Propriété publique PackageDescription Returns a description for the package. This field is read-only.
Propriété publique PackageID Returns the ID associated with the package. This property is read-only.
Propriété publique PackageName Returns the name of the package. This property is read-only.
Propriété publique UserName Returns the user name used to log on to the server.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetType (hérité de Object.)
Méthode publique Stop Stops the selected package.
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

This class provides information to the Object Explorer, where users, database administrators, and system administrators can use a graphical user interface to manage the package storage and view information about the packages that are currently running.

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.Runtime