Provides a reference to the run-time package to use from the Integration Services service. This class cannot be inherited.
The following tables list the members exposed by the RunningPackage type.
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | ExecutionDuration | Returns an Integer that specifies how long the package took to run. | 
| .gif) | ExecutionStartTime | Returns the time that the package started running. | 
| .gif) | InstanceID | Returns the unique ID associated with this instance of the running object. This field is read-only. | 
| .gif) | PackageDescription | Returns a description for the package. This field is read-only. | 
| .gif) | PackageID | Returns the ID associated with the package. This property is read-only. | 
| .gif) | PackageName | Returns the name of the package. This property is read-only. | 
| .gif) | UserName | Returns the user name used to log on to the server. | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Equals | Overloaded. (inherited from DtsObject ) | 
| .gif) | GetHashCode | Returns the hash code for this instance. (inherited from DtsObject) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) .gif) | op_Equality | (inherited from DtsObject ) | 
| .gif) .gif) | op_Inequality | (inherited from DtsObject ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | Stop | Stops the selected package. | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
RunningPackage Class
Microsoft.SqlServer.Dts.Runtime Namespace