RunningPackage 类
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
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public NotInheritable Class RunningPackage _
Inherits DtsObject
用法
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
RunningPackage 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
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. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | Determines whether two object instances are equal. (从 DtsObject 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | Returns the hash code for this instance. (从 DtsObject 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
Stop | Stops the selected package. | |
ToString | (从 Object 继承。) |
页首
注释
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.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。