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

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public NotInheritable Class PackageInfo _
    Inherits DtsObject
'Uso
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

O tipo PackageInfo expõe os membros a seguir.

Propriedades

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

Início

Métodos

  Nome Descrição
Método público Equals Determines whether two object instances are equal. (Herdado de DtsObject.)
Método público GetHashCode Returns the hash code for this instance. (Herdado de DtsObject.)
Método público GetType (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Dts.Runtime