RunningPackage Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public NotInheritable Class RunningPackage _
    Inherits DtsObject
'Usage
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

The RunningPackage type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Stop Stops the selected package.
Public method ToString (Inherited from Object.)

Top

Remarks

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.

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.