This topic has not yet been rated - Rate this topic

RunningPackage Class

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

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)
public sealed class RunningPackage : DtsObject

The RunningPackage type exposes the following members.

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

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)