Partager via


Classe 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.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public NotInheritable Class PackageInfo _
    Inherits DtsObject
'Utilisation
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

Le type PackageInfo expose les membres suivants.

Propriétés

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

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.