Dela via


PackageInfo Class

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.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public NotInheritable Class PackageInfo _
    Inherits DtsObject
'Usage
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

The PackageInfo type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.