SequenceClass 类

定义

表示一个序列类。

public ref class SequenceClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointSite100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventsProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutable100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutionMetrics100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSName100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPersist100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPropertiesProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSSequence100, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sequence
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("79311620-29A0-4811-998E-806847F6FBF8")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class SequenceClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sequence
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("2292B7AB-227F-4EFD-99ED-60D3D716CB87")]
public class SequenceClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sequence
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("2323159B-EAF9-4F86-9D20-9CBF7C64228D")]
public class SequenceClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sequence
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("79311620-29A0-4811-998E-806847F6FBF8")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type SequenceClass = class
    interface Sequence
    interface IDTSContainer100
    interface IDTSSequence100
    interface IDTSExecutable100
    interface IDTSEventsProvider100
    interface IDTSExecutionMetrics100
    interface IDTSPropertiesProvider100
    interface IDTSName100
    interface IDTSBreakpointSite100
    interface IDTSSuspend100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("2292B7AB-227F-4EFD-99ED-60D3D716CB87")>]
type SequenceClass = class
    interface Sequence
    interface IDTSContainer100
    interface IDTSSequence100
    interface IDTSExecutable100
    interface IDTSEventsProvider100
    interface IDTSExecutionMetrics100
    interface IDTSPropertiesProvider100
    interface IDTSName100
    interface IDTSBreakpointSite100
    interface IDTSSuspend100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("2323159B-EAF9-4F86-9D20-9CBF7C64228D")>]
type SequenceClass = class
    interface Sequence
    interface IDTSContainer100
    interface IDTSSequence100
    interface IDTSExecutable100
    interface IDTSEventsProvider100
    interface IDTSExecutionMetrics100
    interface IDTSPropertiesProvider100
    interface IDTSName100
    interface IDTSBreakpointSite100
    interface IDTSSuspend100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
Public Class SequenceClass
Implements IDTSBreakpointSite100, IDTSEventsProvider100, IDTSExecutable100, IDTSExecutionMetrics100, IDTSName100, IDTSPersist100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSSequence100, Sequence
继承
SequenceClass
属性
实现

注解

有关详细信息,请参阅 Sequence

构造函数

SequenceClass()

初始化 SequenceClass 类的新实例。

属性

CreationName

获取用于创建 DtsContainer 对象实例的字符串。

DebugMode

获取或设置一个值,该值指示 DtsContainer 对象是否处于调试模式。

DelayValidation

获取或设置一个值,该值指示是否将任务的验证推迟到运行时。

Description

获取或设置 DtsContainer 对象的说明。

Disable

获取或设置一个值,该值指示是否禁用 DtsContainer 对象。

DisableEventHandlers

获取或设置一个值,该值指示是否禁用任务的事件处理程序。

EventHandlers

获取事件处理程序对象的集合。

EventInfos

获取 EventInfo 对象的集合。

Executables

获取在此序列容器执行期间由运行时引擎处理的可执行对象的集合。

ExecutionDuration

返回一个值,该值指示在容器中执行所需的时间(毫秒)。

ExecutionResult

获取一个值,该值指示 DtsContainer 对象执行是成功还是失败。

ExecutionStatus

获取一个值,该值指示在调用时 DtsContainer 对象执行的当前状态。

FailPackageOnFailure

获取或设置一个值,该值指示在子容器失败时包是否失败。

FailParentOnFailure

获取或设置一个值,该值指示在子容器失败时父容器是否失败。

ForcedExecutionValue

获取或设置一个对象,该对象包含容器定义的值。

ForceExecutionResult

获取或设置一个 DTSForcedExecResult 枚举值,该值指定容器的执行结果。

ForceExecutionValue

获取或设置一个值,该值指示容器的执行值是否应强制包含特定值。

ID

获取标识 DtsContainer 的 GUID。

IDTSSuspend100_SuspendRequired

获取或设置一个值,该值指示是否挂起序列。

IsDefaultLocaleID

获取或设置一个值,该值指示容器是否使用默认区域设置。

IsolationLevel

获取或设置 DtsContainer 对象中事务的隔离级别。

LocaleID

获取或设置在执行 DtsContainer 对象时要使用的区域设置 ID。

LogEntryInfos

获取一个 IDTSLogEntryInfos100 对象。

LoggingMode

获取或设置容器的日志记录模式。

LoggingOptions

获取一个对象,该对象包含指示容器的筛选和日志记录资源的属性。

MaximumErrorCount

获取或设置 DtsContainer 对象停止运行前可以出现的最大错误数。

Name

获取或设置 DtsContainer 的名称。

Parent

获取父容器。

PrecedenceConstraints

获取 IDTSPrecedenceConstraints100 的集合。

Properties

获取 IDTSProperties100 的集合。

StartTime

获取容器开始执行的时间。

StopTime

获取容器结束执行的时间。

SuspendRequired

获取或设置一个值,该值指示在遇到断点时任务是否应挂起。

TransactionOption

获取或设置一个 DTSTransactionOption 枚举值,该值指示容器是否参与事务。

VariableDispenser

获取一个 IDTSVariableDispenser100 对象,以便可以锁定与容器关联的变量。

Variables

获取一个集合,其中包含与此容器关联的变量。

方法

AcceptBreakpointManager(IDTSBreakpointManager100)

在创建任务或容器时此方法由运行时引擎调用。

ComputeExpressions(Boolean)

计算 SequenceClass 对象的表达式。

Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object)

运行应用程序。

GetExpression(String)

返回一个字符串,该字符串包含指定的属性的表达式。

GetParentID()

获取或设置 SequenceClass 对象的父标识符。

IDTSSuspend100_get_SuspendRequired()

表示一个序列类。

IDTSSuspend100_ResumeExecution()

恢复挂起执行。

IDTSSuspend100_set_SuspendRequired(Boolean)

表示一个序列类。

IDTSSuspend100_SuspendExecution()

挂起执行。

LoadFromXML(Object, IDTSEvents100)

加载保存为 XML 格式的包。

RegenerateID()

创建序列的新的 GUID。

ResumeExecution()

暂停后恢复执行任务。

SaveToXML(Object, Object, IDTSEvents100)

将包保存成 XML 格式。

SetExpression(String, String)

将指定的表达式分配给属性。

SuspendExecution()

可执行文件需要挂起时调用。

Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100)

允许包确定它是否包含阻止其成功执行的无效设置。

适用于