Класс 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.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.