Condividi tramite


Classe ExtendedProperties

Contains a collection of ExtendedProperty objects. This class cannot be inherited.

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime..::..ExtendedProperties

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class ExtendedProperties _
    Inherits DTSReadOnlyCollectionBase
'Utilizzo
Dim instance As ExtendedProperties
public sealed class ExtendedProperties : DTSReadOnlyCollectionBase
public ref class ExtendedProperties sealed : public DTSReadOnlyCollectionBase
[<SealedAttribute>]
type ExtendedProperties =  
    class
        inherit DTSReadOnlyCollectionBase
    end
public final class ExtendedProperties extends DTSReadOnlyCollectionBase

Nel tipo ExtendedProperties sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. Ereditato da DTSReadOnlyCollectionBase.
Proprietà pubblica IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). Ereditato da DTSReadOnlyCollectionBase.
Proprietà pubblica Item Returns an ExtendedProperty object from the collection.
Proprietà pubblica SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. Ereditato da DTSReadOnlyCollectionBase.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Add Adds a new, empty ExtendedProperty object to the end of the collection
Metodo pubblico Contains Returns a Boolean that indicates whether the items in the collection can be accessed using indexing without throwing an exception.
Metodo pubblico CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. Ereditato da DTSReadOnlyCollectionBase.
Metodo protetto CreateManagedObject Infrastruttura. Ereditato da DTSReadOnlyCollectionBase.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo protetto GetCount Infrastruttura. Ereditato da DTSReadOnlyCollectionBase.
Metodo pubblico GetEnumerator Returns an ExtendedPropertyEnumerator for iterating over the ExtendedProperties collection.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo protetto GetManagedEnumerator Infrastruttura. Ereditato da DTSReadOnlyCollectionBase.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico Remove Removes an ExtendedProperty object from the ExtendedProperties collection
Metodo pubblico ToString Ereditato da Object.

In alto

Campi

  Nome Descrizione
Campo protetto m_unmanagedColl Infrastruttura. Ereditato da DTSReadOnlyCollectionBase.

In alto

Osservazioni

The ExtendedProperties collection lets custom information be stored with a package. For example, SSIS Designer itself stores package layout information in extended properties. Although the extended properties of the package are hidden at design time and ignored at run time, they are persisted with the package and provide a convenient way to attach user-defined information or metadata to a package for possible use by an automated process or custom tool.

Each ExtendedProperty has a Name, a Description, a DataType, and a Value. Use the ExtendedProperties property of the Package to access its extended properties collection, and use the Add method of the collection to add a new extended property.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.