共用方式為


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。)
公用方法 GetHashCode Returns the hash code for this instance. (繼承自 DtsObject。)
公用方法 GetType (繼承自 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Runtime 命名空間