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 | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether two object instances are equal. (Inherited from DtsObject.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from DtsObject.) | |
GetType | (Inherited from Object.) | |
Stop | Stops the selected package. | |
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.