共用方式為


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