Поделиться через


Класс ForLoopClass

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка:  Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)

Синтаксис

'Декларация
<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
'Применение
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

Тип ForLoopClass обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ForLoopClass Инфраструктура. Initializes a new instance of the ForLoopClass class.

В начало

Свойства

  Имя Описание
Открытое свойство AssignExpression Инфраструктура. Gets or sets an expression to increment or decrement the loop counter.
Открытое свойство CreationName Инфраструктура. 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.
Открытое свойство DebugMode Инфраструктура. Gets or sets a Boolean that indicates whether a task should check if breakpoints are enabled.
Открытое свойство DelayValidation Инфраструктура. Gets or sets a value that indicates whether validation of the task is delayed until run time.
Открытое свойство Description Инфраструктура. Gets or sets a description about the object.
Открытое свойство Disable Инфраструктура. Gets or sets a value that indicates whether the IDTSContainer100 object is disabled.
Открытое свойство DisableEventHandlers Инфраструктура. Gets or sets a Boolean that indicates whether the event handlers on task are disabled.
Открытое свойство EvalExpression Инфраструктура. Gets or sets the expression that is evaluated on each pass of the loop.
Открытое свойство EventHandlers Инфраструктура. Returns a collection of event handler objects. This field is read-only.
Открытое свойство EventInfos Инфраструктура. Returns a collection of IDTSEventInfo100 objects. This field is read-only.
Открытое свойство Executables Инфраструктура. Returns a collection of executable objects that are processed during the ForLoopClass iteration.
Открытое свойство ExecutionDuration Инфраструктура. Returns a value that indicates the amount of time that the container spent in execution, in milliseconds. This property is read-only.
Открытое свойство ExecutionResult Инфраструктура. Gets a value that indicates the success or failure of the execution of the IDTSContainer100 object.
Открытое свойство ExecutionStatus Инфраструктура. Gets the current status of the execution of the IDTSContainer100 object at the time of the call.
Открытое свойство FailPackageOnFailure Инфраструктура. Gets or sets a value that indicates whether the package fails when a child container fails.
Открытое свойство FailParentOnFailure Инфраструктура. Gets or sets a value that indicates whether the parent container fails when a child container fails.
Открытое свойство ForcedExecutionValue Инфраструктура. When ForceExecutionValue is true, gets or sets a value that specifies the optional execution value that the package returns.
Открытое свойство ForceExecutionResult Инфраструктура. Gets or sets the forced execution result of the container.
Открытое свойство ForceExecutionValue Инфраструктура. Gets or sets a value that indicates whether the execution value of the container should be forced to contain a particular value.
Открытое свойство ID Инфраструктура. Returns a unique ID assigned to the object. This is usually a GUID. This property is read-only.
Открытое свойство IDTSSuspend100_SuspendRequired Инфраструктура. 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.
Открытое свойство InitExpression Инфраструктура. Gets or sets an optional initialization expression.
Открытое свойство IsDefaultLocaleID Инфраструктура. Gets a value that indicates whether the container uses the default locale.
Открытое свойство IsolationLevel Инфраструктура. Gets or sets the isolation level of the transaction in the IDTSContainer100 object.
Открытое свойство LocaleID Инфраструктура. Gets or sets the identifier of the locale to use when the IDTSContainer100 object is executed.
Открытое свойство LogEntryInfos Инфраструктура. Gets a collection of information about a log entry.
Открытое свойство LoggingMode Инфраструктура. Gets or sets the logging mode of the container.
Открытое свойство LoggingOptions Инфраструктура. Gets an object that contains properties that indicates the filtering and logging resource for containers.
Открытое свойство MaximumErrorCount Инфраструктура. Gets or sets the maximum number of errors that can occur before the container stops running.
Открытое свойство Name Инфраструктура. Gets or sets a name assigned to the object.
Открытое свойство Parent Инфраструктура. Gets the parent of the container.
Открытое свойство PrecedenceConstraints Инфраструктура. Returns a IDTSPrecedenceConstraints100 collection. This field is read-only.
Открытое свойство Properties Инфраструктура. Returns a set of properties for the ForLoopClass into a IDTSProperties100 collection.
Открытое свойство StartTime Инфраструктура. Returns the time that the container began execution. This property is read-only.
Открытое свойство StopTime Инфраструктура. Returns the time that the container ended execution. This property is read-only.
Открытое свойство SuspendRequired Инфраструктура. 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.
Открытое свойство TransactionOption Инфраструктура. Gets or sets a DTSTransactionOption enumeration value that indicates whether the container participates in transactions.
Открытое свойство VariableDispenser Инфраструктура. Gets an IDTSVariableDispenser100 object so variables associated with the container can be locked.
Открытое свойство Variables Инфраструктура. Gets a collection that contains the variables associated with this container.

В начало

Методы

  Имя Описание
Открытый метод AcceptBreakpointManager Инфраструктура. 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.
Открытый метод ComputeExpressions Инфраструктура. Computes the expressions of the ForLoopClass object.
Открытый метод Equals (Производный от Object.)
Открытый метод Execute Инфраструктура. Executes the executable.
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetExpression Инфраструктура. Returns a String that contains the expression for the specified property. Null means no expression is assigned.
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetParentID Инфраструктура. Gets the parent identifier of this container.
Открытый метод GetType (Производный от Object.)
Открытый метод IDTSForLoop100_Execute Инфраструктура. Executes the executable.
Открытый метод IDTSForLoop100_Validate Инфраструктура. Verify that the executable will successfully execute by validating all its dependencies and other items before executing it.
Открытый метод IDTSSuspend100_ResumeExecution Инфраструктура. Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
Открытый метод IDTSSuspend100_SuspendExecution Инфраструктура. Indicates that the executable needs to suspend. This method is called by the runtime engine.
Открытый метод LoadFromXML Инфраструктура. Loads data stored in XML format.
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод RegenerateID Инфраструктура. Creates a new identifier for the container and updates the container identifier.
Открытый метод ResumeExecution Инфраструктура. Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
Открытый метод SaveToXML Инфраструктура. Saves information to an XML document.
Открытый метод SetExpression Инфраструктура. Assigns the specified expression to the property. Specify nullпустая ссылка (Nothing в Visual Basic) to remove an existing expression from the property.
Открытый метод SuspendExecution Инфраструктура. Indicates that the executable needs to suspend. This method is called by the runtime engine.
Открытый метод ToString (Производный от Object.)
Открытый метод Validate Инфраструктура. Verify that the executable will successfully execute by validating all its dependencies and other items before executing it.

В начало

Замечания

For more information, see ForLoop.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dts.Runtime.Wrapper