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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。