PackageInfo 类

Contains properties that return all the information relating to a package, such as the date it was created, version numbers, and package size. This class cannot be inherited.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..PackageInfo

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public NotInheritable Class PackageInfo _
    Inherits DtsObject
用法
Dim instance As PackageInfo
public sealed class PackageInfo : DtsObject
public ref class PackageInfo sealed : public DtsObject
[<SealedAttribute>]
type PackageInfo =  
    class
        inherit DtsObject
    end
public final class PackageInfo extends DtsObject

PackageInfo 类型公开以下成员。

属性

  名称 说明
公共属性 CreationDate Gets the date and time that the package was created. This property is read-only.
公共属性 Description Gets the description given to the package when it was created. This property is read-only.
公共属性 Flags Gets an enumeration that describes whether the package is a folder or package. This property is read-only.
公共属性 Folder The name and path of the folder that contains the package. This property is read-only.
公共属性 Name Gets the name given to the package when it was created. This property is read-only.
公共属性 PackageDataSize Returns the size of data for the package. This property is read-only.
公共属性 PackageGuid Gets the unique identifier assigned to the package when it was created. This property is read-only.
公共属性 VersionBuild Returns the build version of the package. This property is read-only.
公共属性 VersionComments Returns comments associated with the package. This property is read-only.
公共属性 VersionGUID Returns a unique GUID that is generated when the package is first created. This property is read-only.
公共属性 VersionMajor Returns the major build version of the package. This property is read-only.
公共属性 VersionMinor Returns the minor build version of the package. This property is read-only.

页首

方法

  名称 说明
公共方法 Equals Determines whether two object instances are equal. (从 DtsObject 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode Returns the hash code for this instance. (从 DtsObject 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。