语言

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

Gest 或 Set 对 DtsContainer 对象进行描述。

Disable

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

DisableEventHandlers

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

EventHandlers

获得一组事件处理对象。

EventInfos

获得一组 EventInfo 对象。

Executables

在执行该序列容器时,获得运行时引擎处理的一组可执行对象。

ExecutionDuration

返回一个值,表示容器执行时耗时的时间,单位为毫秒。

ExecutionResult

获得一个表示 DtsContainer 对象执行成功或失败的值。

ExecutionStatus

获得一个值,表示调用时DtsContainer对象当前执行状态。

FailPackageOnFailure

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

FailParentOnFailure

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

ForcedExecutionValue

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

ForceExecutionResult

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

ForceExecutionValue

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

ID

获得一个GUID来识别dtsContainer。

IDTSSuspend100_SuspendRequired

获得或设置一个值,指示序列是否应暂停。

IsDefaultLocaleID

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

IsolationLevel

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

LocaleID

获取或设置 dtsContainer 对象执行时使用的 locale 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)

允许软件包判断是否包含无效设置,导致无法成功执行。

适用于