Compartir a través de


Clase ForLoopClass

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

Provides a container that defines an iterative workflow in a package, using the for iteration statement.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.ForLoopClass

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxis

'Declaración
<GuidAttribute("C29EE86B-9D47-47BA-965B-E364731C8A2A")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class ForLoopClass _
    Implements IDTSExecutable100, ForLoop, IDTSForLoop100, IDTSContainer100,  _
    IDTSSequence100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSBreakpointSite100,  _
    IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100, IDTSName100
'Uso
Dim instance As ForLoopClass
[GuidAttribute("C29EE86B-9D47-47BA-965B-E364731C8A2A")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class ForLoopClass : IDTSExecutable100, 
    ForLoop, IDTSForLoop100, IDTSContainer100, IDTSSequence100, IDTSEventsProvider100, 
    IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, 
    IDTSRuntimeObject100, IDTSName100
[GuidAttribute(L"C29EE86B-9D47-47BA-965B-E364731C8A2A")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class ForLoopClass : IDTSExecutable100, 
    ForLoop, IDTSForLoop100, IDTSContainer100, IDTSSequence100, IDTSEventsProvider100, 
    IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, 
    IDTSRuntimeObject100, IDTSName100
[<GuidAttribute("C29EE86B-9D47-47BA-965B-E364731C8A2A")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type ForLoopClass =  
    class 
        interface IDTSExecutable100 
        interface ForLoop 
        interface IDTSForLoop100 
        interface IDTSContainer100 
        interface IDTSSequence100 
        interface IDTSEventsProvider100 
        interface IDTSExecutionMetrics100 
        interface IDTSPropertiesProvider100 
        interface IDTSBreakpointSite100 
        interface IDTSSuspend100 
        interface IDTSPersist100 
        interface IDTSRuntimeObject100 
        interface IDTSName100 
    end
public class ForLoopClass implements IDTSExecutable100, ForLoop, IDTSForLoop100, IDTSContainer100, IDTSSequence100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100, IDTSName100

El tipo ForLoopClass expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ForLoopClass Infraestructura. Initializes a new instance of the ForLoopClass class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública AssignExpression Infraestructura. Gets or sets an expression to increment or decrement the loop counter.
Propiedad pública CreationName Infraestructura. Returns the name that is used by the runtime to create an instance of the object and add it to its collection, if there is a collection for the object. This property is read-only.
Propiedad pública DebugMode Infraestructura. Gets or sets a Boolean that indicates whether a task should check if breakpoints are enabled.
Propiedad pública DelayValidation Infraestructura. Gets or sets a value that indicates whether validation of the task is delayed until run time.
Propiedad pública Description Infraestructura. Gets or sets a description about the object.
Propiedad pública Disable Infraestructura. Gets or sets a value that indicates whether the IDTSContainer100 object is disabled.
Propiedad pública DisableEventHandlers Infraestructura. Gets or sets a Boolean that indicates whether the event handlers on task are disabled.
Propiedad pública EvalExpression Infraestructura. Gets or sets the expression that is evaluated on each pass of the loop.
Propiedad pública EventHandlers Infraestructura. Returns a collection of event handler objects. This field is read-only.
Propiedad pública EventInfos Infraestructura. Returns a collection of IDTSEventInfo100 objects. This field is read-only.
Propiedad pública Executables Infraestructura. Returns a collection of executable objects that are processed during the ForLoopClass iteration.
Propiedad pública ExecutionDuration Infraestructura. Returns a value that indicates the amount of time that the container spent in execution, in milliseconds. This property is read-only.
Propiedad pública ExecutionResult Infraestructura. Gets a value that indicates the success or failure of the execution of the IDTSContainer100 object.
Propiedad pública ExecutionStatus Infraestructura. Gets the current status of the execution of the IDTSContainer100 object at the time of the call.
Propiedad pública FailPackageOnFailure Infraestructura. Gets or sets a value that indicates whether the package fails when a child container fails.
Propiedad pública FailParentOnFailure Infraestructura. Gets or sets a value that indicates whether the parent container fails when a child container fails.
Propiedad pública ForcedExecutionValue Infraestructura. When ForceExecutionValue is true, gets or sets a value that specifies the optional execution value that the package returns.
Propiedad pública ForceExecutionResult Infraestructura. Gets or sets the forced execution result of the container.
Propiedad pública ForceExecutionValue Infraestructura. Gets or sets a value that indicates whether the execution value of the container should be forced to contain a particular value.
Propiedad pública ID Infraestructura. Returns a unique ID assigned to the object. This is usually a GUID. This property is read-only.
Propiedad pública IDTSSuspend100_SuspendRequired Infraestructura. Gets or sets a Boolean that indicates whether tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.
Propiedad pública InitExpression Infraestructura. Gets or sets an optional initialization expression.
Propiedad pública IsDefaultLocaleID Infraestructura. Gets a value that indicates whether the container uses the default locale.
Propiedad pública IsolationLevel Infraestructura. Gets or sets the isolation level of the transaction in the IDTSContainer100 object.
Propiedad pública LocaleID Infraestructura. Gets or sets the identifier of the locale to use when the IDTSContainer100 object is executed.
Propiedad pública LogEntryInfos Infraestructura. Gets a collection of information about a log entry.
Propiedad pública LoggingMode Infraestructura. Gets or sets the logging mode of the container.
Propiedad pública LoggingOptions Infraestructura. Gets an object that contains properties that indicates the filtering and logging resource for containers.
Propiedad pública MaximumErrorCount Infraestructura. Gets or sets the maximum number of errors that can occur before the container stops running.
Propiedad pública Name Infraestructura. Gets or sets a name assigned to the object.
Propiedad pública Parent Infraestructura. Gets the parent of the container.
Propiedad pública PrecedenceConstraints Infraestructura. Returns a IDTSPrecedenceConstraints100 collection. This field is read-only.
Propiedad pública Properties Infraestructura. Returns a set of properties for the ForLoopClass into a IDTSProperties100 collection.
Propiedad pública StartTime Infraestructura. Returns the time that the container began execution. This property is read-only.
Propiedad pública StopTime Infraestructura. Returns the time that the container ended execution. This property is read-only.
Propiedad pública SuspendRequired Infraestructura. Gets or sets a Boolean that indicates whether tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.
Propiedad pública TransactionOption Infraestructura. Gets or sets a DTSTransactionOption enumeration value that indicates whether the container participates in transactions.
Propiedad pública VariableDispenser Infraestructura. Gets an IDTSVariableDispenser100 object so variables associated with the container can be locked.
Propiedad pública Variables Infraestructura. Gets a collection that contains the variables associated with this container.

Arriba

Métodos

  Nombre Descripción
Método público AcceptBreakpointManager Infraestructura. Passes a IDTSBreakpointManager100 to a task. The task will use the breakpoint manager to create, remove, and check the status of breakpoints. This method is called by the runtime and is not used in code.
Método público ComputeExpressions Infraestructura. Computes the expressions of the ForLoopClass object.
Método público Equals (Se hereda de Object.)
Método público Execute Infraestructura. Executes the executable.
Método protegido Finalize (Se hereda de Object.)
Método público GetExpression Infraestructura. Returns a String that contains the expression for the specified property. Null means no expression is assigned.
Método público GetHashCode (Se hereda de Object.)
Método público GetParentID Infraestructura. Gets the parent identifier of this container.
Método público GetType (Se hereda de Object.)
Método público IDTSForLoop100_Execute Infraestructura. Executes the executable.
Método público IDTSForLoop100_Validate Infraestructura. Verify that the executable will successfully execute by validating all its dependencies and other items before executing it.
Método público IDTSSuspend100_ResumeExecution Infraestructura. Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
Método público IDTSSuspend100_SuspendExecution Infraestructura. Indicates that the executable needs to suspend. This method is called by the runtime engine.
Método público LoadFromXML Infraestructura. Loads data stored in XML format.
Método protegido MemberwiseClone (Se hereda de Object.)
Método público RegenerateID Infraestructura. Creates a new identifier for the container and updates the container identifier.
Método público ResumeExecution Infraestructura. Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
Método público SaveToXML Infraestructura. Saves information to an XML document.
Método público SetExpression Infraestructura. Assigns the specified expression to the property. Specify nulles una referencia NULL (Nothing en Visual Basic). to remove an existing expression from the property.
Método público SuspendExecution Infraestructura. Indicates that the executable needs to suspend. This method is called by the runtime engine.
Método público ToString (Se hereda de Object.)
Método público Validate Infraestructura. Verify that the executable will successfully execute by validating all its dependencies and other items before executing it.

Arriba

Comentarios

For more information, see ForLoop.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Wrapper