Classe ForLoopClass
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Provides a container that defines an iterative workflow in a package, using the for iteration statement.
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.Dts.Runtime.Wrapper.ForLoopClass
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
<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
'Utilizzo
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
Nel tipo ForLoopClass sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
ForLoopClass | Infrastruttura. Initializes a new instance of the ForLoopClass class. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
AssignExpression | Infrastruttura. Gets or sets an expression to increment or decrement the loop counter. | |
CreationName | Infrastruttura. 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 | Infrastruttura. Gets or sets a Boolean that indicates whether a task should check if breakpoints are enabled. | |
DelayValidation | Infrastruttura. Gets or sets a value that indicates whether validation of the task is delayed until run time. | |
Description | Infrastruttura. Gets or sets a description about the object. | |
Disable | Infrastruttura. Gets or sets a value that indicates whether the IDTSContainer100 object is disabled. | |
DisableEventHandlers | Infrastruttura. Gets or sets a Boolean that indicates whether the event handlers on task are disabled. | |
EvalExpression | Infrastruttura. Gets or sets the expression that is evaluated on each pass of the loop. | |
EventHandlers | Infrastruttura. Returns a collection of event handler objects. This field is read-only. | |
EventInfos | Infrastruttura. Returns a collection of IDTSEventInfo100 objects. This field is read-only. | |
Executables | Infrastruttura. Returns a collection of executable objects that are processed during the ForLoopClass iteration. | |
ExecutionDuration | Infrastruttura. Returns a value that indicates the amount of time that the container spent in execution, in milliseconds. This property is read-only. | |
ExecutionResult | Infrastruttura. Gets a value that indicates the success or failure of the execution of the IDTSContainer100 object. | |
ExecutionStatus | Infrastruttura. Gets the current status of the execution of the IDTSContainer100 object at the time of the call. | |
FailPackageOnFailure | Infrastruttura. Gets or sets a value that indicates whether the package fails when a child container fails. | |
FailParentOnFailure | Infrastruttura. Gets or sets a value that indicates whether the parent container fails when a child container fails. | |
ForcedExecutionValue | Infrastruttura. When ForceExecutionValue is true, gets or sets a value that specifies the optional execution value that the package returns. | |
ForceExecutionResult | Infrastruttura. Gets or sets the forced execution result of the container. | |
ForceExecutionValue | Infrastruttura. Gets or sets a value that indicates whether the execution value of the container should be forced to contain a particular value. | |
ID | Infrastruttura. Returns a unique ID assigned to the object. This is usually a GUID. This property is read-only. | |
IDTSSuspend100_SuspendRequired | Infrastruttura. 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 | Infrastruttura. Gets or sets an optional initialization expression. | |
IsDefaultLocaleID | Infrastruttura. Gets a value that indicates whether the container uses the default locale. | |
IsolationLevel | Infrastruttura. Gets or sets the isolation level of the transaction in the IDTSContainer100 object. | |
LocaleID | Infrastruttura. Gets or sets the identifier of the locale to use when the IDTSContainer100 object is executed. | |
LogEntryInfos | Infrastruttura. Gets a collection of information about a log entry. | |
LoggingMode | Infrastruttura. Gets or sets the logging mode of the container. | |
LoggingOptions | Infrastruttura. Gets an object that contains properties that indicates the filtering and logging resource for containers. | |
MaximumErrorCount | Infrastruttura. Gets or sets the maximum number of errors that can occur before the container stops running. | |
Name | Infrastruttura. Gets or sets a name assigned to the object. | |
Parent | Infrastruttura. Gets the parent of the container. | |
PrecedenceConstraints | Infrastruttura. Returns a IDTSPrecedenceConstraints100 collection. This field is read-only. | |
Properties | Infrastruttura. Returns a set of properties for the ForLoopClass into a IDTSProperties100 collection. | |
StartTime | Infrastruttura. Returns the time that the container began execution. This property is read-only. | |
StopTime | Infrastruttura. Returns the time that the container ended execution. This property is read-only. | |
SuspendRequired | Infrastruttura. 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 | Infrastruttura. Gets or sets a DTSTransactionOption enumeration value that indicates whether the container participates in transactions. | |
VariableDispenser | Infrastruttura. Gets an IDTSVariableDispenser100 object so variables associated with the container can be locked. | |
Variables | Infrastruttura. Gets a collection that contains the variables associated with this container. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
AcceptBreakpointManager | Infrastruttura. 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 | Infrastruttura. Computes the expressions of the ForLoopClass object. | |
Equals | Ereditato da Object. | |
Execute | Infrastruttura. Executes the executable. | |
Finalize | Ereditato da Object. | |
GetExpression | Infrastruttura. Returns a String that contains the expression for the specified property. Null means no expression is assigned. | |
GetHashCode | Ereditato da Object. | |
GetParentID | Infrastruttura. Gets the parent identifier of this container. | |
GetType | Ereditato da Object. | |
IDTSForLoop100_Execute | Infrastruttura. Executes the executable. | |
IDTSForLoop100_Validate | Infrastruttura. Verify that the executable will successfully execute by validating all its dependencies and other items before executing it. | |
IDTSSuspend100_ResumeExecution | Infrastruttura. Resumes execution of the task after pausing. The task or container is resumed by the runtime engine. | |
IDTSSuspend100_SuspendExecution | Infrastruttura. Indicates that the executable needs to suspend. This method is called by the runtime engine. | |
LoadFromXML | Infrastruttura. Loads data stored in XML format. | |
MemberwiseClone | Ereditato da Object. | |
RegenerateID | Infrastruttura. Creates a new identifier for the container and updates the container identifier. | |
ResumeExecution | Infrastruttura. Resumes execution of the task after pausing. The task or container is resumed by the runtime engine. | |
SaveToXML | Infrastruttura. Saves information to an XML document. | |
SetExpression | Infrastruttura. Assigns the specified expression to the property. Specify nullriferimento Null (Nothing in Visual Basic). to remove an existing expression from the property. | |
SuspendExecution | Infrastruttura. Indicates that the executable needs to suspend. This method is called by the runtime engine. | |
ToString | Ereditato da Object. | |
Validate | Infrastruttura. Verify that the executable will successfully execute by validating all its dependencies and other items before executing it. |
In alto
Osservazioni
For more information, see ForLoop.
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.