Classe ForEachEnumeratorHost

Defines the host class for the ForEachEnumerator. This class cannot be inherited.

Gerarchia di ereditarietà

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

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

Sintassi

'Dichiarazione
Public NotInheritable Class ForEachEnumeratorHost _
    Inherits DtsObject _
    Implements IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator,  _
    IDTSPropertiesProvider, IDTSPackagePath
'Utilizzo
Dim instance As ForEachEnumeratorHost
public sealed class ForEachEnumeratorHost : DtsObject, 
    IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator, IDTSPropertiesProvider, 
    IDTSPackagePath
public ref class ForEachEnumeratorHost sealed : public DtsObject, 
    IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator, IDTSPropertiesProvider, 
    IDTSPackagePath
[<SealedAttribute>]
type ForEachEnumeratorHost =  
    class
        inherit DtsObject
        interface IDTSName
        interface IDTSPersist
        interface IDTSObjectHost
        interface IDTSForEachEnumerator
        interface IDTSPropertiesProvider
        interface IDTSPackagePath
    end
public final class ForEachEnumeratorHost extends DtsObject implements IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator, IDTSPropertiesProvider, IDTSPackagePath

Nel tipo ForEachEnumeratorHost sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica CollectionEnumerator Gets or sets a Boolean that indicates if the hosting enumerator is enumerating collections of objects or enumerating collections of collections.
Proprietà pubblica CreationName Returns the string that is used by the run-time to create an instance of the ForEachEnumeratorHost object. This property is read-only.
Proprietà pubblica DelayValidation Gets or sets a Boolean that indicates whether ForEachEnumerator validation is delayed until the package runs.
Proprietà pubblica Description Gets or sets description for the host.
Proprietà pubblica HostType Gets an enumeration that describes the type of host that the ForEachEnumerator is being used by. This property is read-only
Proprietà pubblica ID Returns the GUID assigned to the host.
Proprietà pubblica InnerObject Returns the inner object of the host, which is the ForEachEnumerator that is being hosted.
Proprietà pubblica Name Gets or sets a name for the host.
Proprietà pubblica Properties Returns a DtsProperties collection that contains DtsProperty objects. Each DtsProperty has additional information about each task in the ForEachEnumeratorHost.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Determines whether two object instances are equal. Ereditato da DtsObject.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetEnumerator Returns an IEnumerator interface for use in iterating over the ForEachEnumerator.
Metodo pubblico GetExpression Returns a String that contains the expression for the specified property. Null means no expression is assigned.
Metodo pubblico GetHashCode Returns the hash code for this instance. Ereditato da DtsObject.
Metodo pubblico GetPackagePath
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Metodo pubblico SetExpression Assigns the specified expression to the property. Specify nullNothingnullptrunitriferimento Null (Nothing in Visual Basic). to remove an existing expression from the property.
Metodo pubblico ToString Ereditato da Object.
Metodo pubblico Validate Allows the host to determine if there are invalid settings that will prevent the ForEachEnumerator from executing successfully.

In alto

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.