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 nullnull 參考 (在 Visual Basic 中為 Nothing) 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.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。