Класс 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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.