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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。