Share via


RunningPackage Class

Definition

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

public ref class RunningPackage sealed : Microsoft::SqlServer::Dts::Runtime::DtsObject
public sealed class RunningPackage : Microsoft.SqlServer.Dts.Runtime.DtsObject
type RunningPackage = class
    inherit DtsObject
Public NotInheritable Class RunningPackage
Inherits DtsObject
Inheritance
RunningPackage

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.

Properties

ExecutionDuration

Returns an Integer that specifies how long the package took to run.

ExecutionStartTime

Returns the time that the package started running.

InstanceID

Returns the unique ID associated with this instance of the running object. This field is read-only.

PackageDescription

Returns a description for the package. This field is read-only.

PackageID

Returns the ID associated with the package. This property is read-only.

PackageName

Returns the name of the package. This property is read-only.

UserName

Returns the user name used to log on to the server.

Methods

Equals(Object)

Determines whether two object instances are equal.

(Inherited from DtsObject)
GetHashCode()

Returns the hash code for this instance.

(Inherited from DtsObject)
Stop()

Stops the selected package.

Applies to