Package Package Package Package Class

定义

表示包容器。Represents the package container. 无法继承此类。This class cannot be inherited.

public ref class Package sealed : Microsoft::SqlServer::Dts::Runtime::EventsProvider, Microsoft::SqlServer::Dts::Runtime::IDTSConfigurationControl, Microsoft::SqlServer::Dts::Runtime::IDTSExecutionPath, Microsoft::SqlServer::Dts::Runtime::IDTSPackagePath, Microsoft::SqlServer::Dts::Runtime::IDTSPropertiesProvider, Microsoft::SqlServer::Dts::Runtime::IDTSPropertiesProviderEx, Microsoft::SqlServer::Dts::Runtime::IDTSSequence
public sealed class Package : Microsoft.SqlServer.Dts.Runtime.EventsProvider, Microsoft.SqlServer.Dts.Runtime.IDTSConfigurationControl, Microsoft.SqlServer.Dts.Runtime.IDTSExecutionPath, Microsoft.SqlServer.Dts.Runtime.IDTSPackagePath, Microsoft.SqlServer.Dts.Runtime.IDTSPropertiesProvider, Microsoft.SqlServer.Dts.Runtime.IDTSPropertiesProviderEx, Microsoft.SqlServer.Dts.Runtime.IDTSSequence
type Package = class
    inherit EventsProvider
    interface IDTSSequence
    interface IDTSPropertiesProvider
    interface IDTSPropertiesProviderEx
    interface IDTSPackagePath
    interface IDTSExecutionPath
    interface IDTSConfigurationControl
Public NotInheritable Class Package
Inherits EventsProvider
Implements IDTSConfigurationControl, IDTSExecutionPath, IDTSPackagePath, IDTSPropertiesProvider, IDTSPropertiesProviderEx, IDTSSequence
继承
实现

注解

包是其他容器、连接、任务、转换、变量、配置和优先约束的集合。The package is a collection of other containers, connections, tasks, transformations, variables, configurations, and precedence constraints. 可以通过编程方式或使用SSIS设计器图形工具创建包。Packages can be created programmatically, or by using the SSIS Designer graphical tool. 可以将包保存到不同的位置, Microsoft包括SQL Server或 XML 文件。Packages can be saved to various locations, including Microsoft SQL Server or an XML file.

有关包的详细信息, 请参阅Integration Services (SSIS) 包For more information about packages, see Integration Services (SSIS) Packages.

构造函数

Package() Package() Package() Package()

初始化 Package 类的新实例。Initializes a new instance of the Package class.

属性

CertificateContext CertificateContext CertificateContext CertificateContext

获取或设置包的 X.509 证书对象。Gets or sets the X.509 certificate object for the package.

CertificateObject CertificateObject CertificateObject CertificateObject

获取或设置包的 X.509 证书对象。Gets or sets the X.509 certificate object for the package.

CheckpointFileName CheckpointFileName CheckpointFileName CheckpointFileName

获取或设置用于捕获使包可以重新启动的检查点信息的文件的名称。Gets or sets the name of the file that captures the checkpoint information, which enables a package to restart.

CheckpointUsage CheckpointUsage CheckpointUsage CheckpointUsage

获取或设置一个值,该值指定是否重新启动包或重新启动的时间。Gets or sets a value that specifies if or when a package is restarted.

CheckSignatureOnLoad CheckSignatureOnLoad CheckSignatureOnLoad CheckSignatureOnLoad

获取或设置一个值,该值指示在加载包时是否检查数字签名。Gets or sets a value indicating whether the digital signature is checked when a package is loaded.

Configurations Configurations Configurations Configurations

获取包的配置集合。Gets the collection of configurations for the package. 一个包可以有与之关联的多个配置。A package can have more than one configuration associated with it. 该属性为只读。This property is read-only.

Connections Connections Connections Connections

获取包的连接管理器集合。Gets the collection of connection managers for the package.

CreationDate CreationDate CreationDate CreationDate

获取或设置创建包的日期和时间。Gets or sets the date and time that the package was created.

CreationName CreationName CreationName CreationName

返回用于创建 DtsContainer 对象实例的字符串。Returns the string that is used to create an instance of the DtsContainer object. 该属性为只读。This property is read-only.

(Inherited from DtsContainer)
CreatorComputerName CreatorComputerName CreatorComputerName CreatorComputerName

获取或设置创建包的计算机的名称。Gets or sets the name of the computer on which the package was created.

CreatorName CreatorName CreatorName CreatorName

获取或设置创建包的用户的名称。Gets or sets the name of the individual who created the package.

DebugMode DebugMode DebugMode DebugMode

获取或设置一个布尔值, 该值指示DtsContainer对象是否处于调试模式, 以及在运行时是否OnBreakpointHit(IDTSBreakpointSite, BreakpointTarget)应激发事件。Gets or sets a Boolean that indicates whether the DtsContainer object is in debug mode and whether it should fire the OnBreakpointHit(IDTSBreakpointSite, BreakpointTarget) event while running.

(Inherited from DtsContainer)
DelayValidation DelayValidation DelayValidation DelayValidation

获取或设置一个布尔值, 该值指示是否将任务的验证推迟到运行时。Gets or sets a Boolean that indicates whether validation of the task is delayed until run time. 默认值是 False。The default value is false.

(Inherited from DtsContainer)
Description Description Description Description

获取或设置 DtsContainer 对象的说明。Gets or sets the description of the DtsContainer object.

(Inherited from DtsContainer)
DesignEvents DesignEvents DesignEvents DesignEvents

获取或设置一个 IDTSEvents,该值指示在设计时设计器或其他第三方客户端是否要接收事件。Gets or sets an IDTSEvents that indicates if the designer or other third-party client is to receive events during design time.

DesignTimeProperties DesignTimeProperties DesignTimeProperties DesignTimeProperties

获取或设置包的设计时属性,例如布局信息。Gets or sets the design time properties of a package such as layout information.

Disable Disable Disable Disable

指示是否DtsContainer禁用对象的布尔值。A Boolean that indicates if the DtsContainer object is disabled.

(Inherited from DtsContainer)
DisableEventHandlers DisableEventHandlers DisableEventHandlers DisableEventHandlers

获取或设置一个布尔值, 该值指示是否禁用任务的事件处理程序。Gets or sets a Boolean that indicates whether the event handlers on task are disabled.

(Inherited from EventsProvider)
DumpDescriptor DumpDescriptor DumpDescriptor DumpDescriptor

指定何时应生成转储文件。Specify when a dump file should be generated.

DumpOnAnyError DumpOnAnyError DumpOnAnyError DumpOnAnyError

指定在包执行过程中发生任何错误时是否应生成一个转储文件。Specify if a dump file should be generated when any error occurs during package execution.

EnableConfigurations EnableConfigurations EnableConfigurations EnableConfigurations

获取或设置一个值,该值指示包是否加载配置。Gets or sets a value that indicates whether the package loads configurations.

EnableDump EnableDump EnableDump EnableDump

指定是否启用转储文件生成。Specify if the dump file generation is enabled.

EncryptCheckpoints EncryptCheckpoints EncryptCheckpoints EncryptCheckpoints

获取或设置一个值,该值指示是否对检查点文件加密。Gets or sets a value that indicates whether the checkpoint files are encrypted.

Errors Errors Errors Errors

获取与包关联的错误的集合。Gets the collection of errors associated with the package. 此字段为只读。This field is read-only.

EventHandlers EventHandlers EventHandlers EventHandlers

返回事件处理程序对象的集合。Returns a collection of event handler objects. 此字段为只读。This field is read-only.

(Inherited from EventsProvider)
EventInfos EventInfos EventInfos EventInfos

返回 EventInfo 对象的集合。Returns a collection of EventInfo objects. 此字段为只读。This field is read-only.

(Inherited from EventsProvider)
Executables Executables Executables Executables

获取包内包含的作为包工作流一部分的可执行对象的集合。Gets the collection of executable objects contained within the package that are a part of the package workflow.

ExecutionDuration ExecutionDuration ExecutionDuration ExecutionDuration

返回一个值,该值指示在容器中执行所需的时间(毫秒)。Returns a value that indicates the amount of time that the container spent in execution, in milliseconds. 该属性为只读。This property is read-only.

(Inherited from DtsContainer)
ExecutionResult ExecutionResult ExecutionResult ExecutionResult

返回指示 DtsContainer 对象执行是成功还是失败的值。Returns a value that indicates the success or failure of the execution of the DtsContainer object.

(Inherited from DtsContainer)
ExecutionStatus ExecutionStatus ExecutionStatus ExecutionStatus

返回指示在调用时 DtsContainer 对象执行的当前状态的值。Returns a value that indicates the current status of the execution of the DtsContainer object at the time of the call.

(Inherited from DtsContainer)
ExtendedProperties ExtendedProperties ExtendedProperties ExtendedProperties

获取包的 ExtendedProperties 集合。Gets the ExtendedProperties collection for the package.

FailPackageOnFailure FailPackageOnFailure FailPackageOnFailure FailPackageOnFailure

获取或设置一个值,该值指示在包中的任务或组件失败时包是否失败。Gets or sets a value that indicates whether the package fails when a task or component in the package fails.

FailParentOnFailure FailParentOnFailure FailParentOnFailure FailParentOnFailure

获取或设置一个Boolean,该值定义在子容器失败时父容器是否失败。Gets or sets a Boolean that defines whether the parent container fails when a child container fails.

(Inherited from DtsContainer)
ForcedExecutionValue ForcedExecutionValue ForcedExecutionValue ForcedExecutionValue

如果将ForceExecutionValue属性设置为 True, 则获取或设置一个值, 该值指定包返回的可选执行值。If the ForceExecutionValue property is set to True, gets or sets a value that specifies the optional execution value that the package returns.

(Inherited from DtsContainer)
ForceExecutionResult ForceExecutionResult ForceExecutionResult ForceExecutionResult

获取或设置一个 DTSForcedExecResult 枚举值,该值指定容器的强制执行结果。Gets or sets a DTSForcedExecResult enumeration value that specifies the forced execution result of the container.

(Inherited from DtsContainer)
ForceExecutionValue ForceExecutionValue ForceExecutionValue ForceExecutionValue

获取或设置一个布尔值, 该值指示容器的执行值是否应强制包含特定值。Gets or sets a Boolean that indicates whether the execution value of the container should be forced to contain a particular value.

(Inherited from DtsContainer)
HasExpressions HasExpressions HasExpressions HasExpressions

获取一个值,该值指示包是否具有表达式。Gets a value that indicates whether the package has expressions.

ID ID ID ID

返回 ID,它是 DtsContainer 的 GUID。Returns the ID, which is a GUID, of the DtsContainer. 该值为只读的。The value is read-only.

(Inherited from DtsContainer)
IgnoreConfigurationsOnLoad IgnoreConfigurationsOnLoad IgnoreConfigurationsOnLoad IgnoreConfigurationsOnLoad

获取或设置一个值,该值指示在加载包时该包是否忽略配置。Gets or sets a value that indicates whether the package ignores configurations when the package is loaded.

InteractiveMode InteractiveMode InteractiveMode InteractiveMode

获取或设置一个值,该值指示任务在执行时是否应显示用户界面对象。Gets or sets a value that indicates whether the tasks should show user interface objects while executing.

IsDefaultLocaleID IsDefaultLocaleID IsDefaultLocaleID IsDefaultLocaleID

一个布尔值, 该值指示容器是否使用默认区域设置。A Boolean that indicates whether the container uses the default locale. 该属性为只读。This property is read-only.

(Inherited from DtsContainer)
IsolationLevel IsolationLevel IsolationLevel IsolationLevel

获取或设置 DtsContainer 对象中事务的隔离级别。Gets or sets the isolation level of the transaction in the DtsContainer object.

(Inherited from DtsContainer)
LocaleID LocaleID LocaleID LocaleID

获取或设置一个整数, 该整数指示在执行DtsContainer对象时要使用的 Microsoft Win32® localeID。Gets or sets an Integer that indicates the Microsoft Win32® localeID to use when the DtsContainer object is executed.

(Inherited from DtsContainer)
LogEntryInfos LogEntryInfos LogEntryInfos LogEntryInfos

返回一个 LogEntryInfos 对象。Returns a LogEntryInfos object. 该属性为只读。This property is read-only.

(Inherited from DtsContainer)
LoggingMode LoggingMode LoggingMode LoggingMode

获取或设置 DTSLoggingMode 枚举中的一个有效值,该值指示容器的日志记录模式。Gets or sets a valid value from the DTSLoggingMode enumeration that indicates the logging mode of the container.

(Inherited from DtsContainer)
LoggingOptions LoggingOptions LoggingOptions LoggingOptions

返回一个对象,该对象包含指示容器的筛选和日志记录资源的属性。Returns an object that contains properties that indicates the filtering and logging resource for containers. 该属性为只读。This property is read-only.

(Inherited from DtsContainer)
LogProviders LogProviders LogProviders LogProviders

获取与包关联的日志提供程序的集合。Gets the collection of log providers associated with the package.

MaxConcurrentExecutables MaxConcurrentExecutables MaxConcurrentExecutables MaxConcurrentExecutables

获取或设置包可以创建的线程数。Gets or sets the number of threads that a package can create.

MaximumErrorCount MaximumErrorCount MaximumErrorCount MaximumErrorCount

获取或设置一个整数值, 该值指示在DtsContainer对象停止运行之前可以发生的最大错误数。Gets or sets an Integer value that indicates the maximum number of errors that can occur before the DtsContainer object stops running.

(Inherited from DtsContainer)
Name Name Name Name

获取或设置 DtsContainer 的名称。Gets or sets the name of the DtsContainer.

(Inherited from DtsContainer)
OfflineMode OfflineMode OfflineMode OfflineMode

获取或设置一个值,该值指示包是否在脱机模式下工作。Gets or sets a value that indicates whether the package is working in offline mode.

PackagePassword PackagePassword PackagePassword PackagePassword

设置包的密码值。Sets the value of the password for the package. 此属性是只写的。This property is write-only.

PackagePriorityClass PackagePriorityClass PackagePriorityClass PackagePriorityClass

指定包线程的 Win32 线程优先级类。Specifies the Win32 thread priority class of the package thread.

PackageType PackageType PackageType PackageType

指定一个值,该值标识创建包的工具。Specifies a value that identifies the tool that created the package.

PackageUpgradeOptions PackageUpgradeOptions PackageUpgradeOptions PackageUpgradeOptions

获取或设置包的更新选项。Gets or sets the upgrade options for the package.

Parameters Parameters Parameters Parameters

获取包的参数集合。Gets the parameters collection for the package.

Parent Parent Parent Parent

返回父容器。Returns the parent container. 该值为只读的。The value is read-only.

(Inherited from DtsContainer)
PrecedenceConstraints PrecedenceConstraints PrecedenceConstraints PrecedenceConstraints

获取 PrecedenceConstraint 对象的集合。Gets the collection of the PrecedenceConstraint objects. 此字段为只读。This field is read-only.

Project Project Project Project

获取或设置与包关联的指定项目。Gets or sets the specified project associated with the package.

Properties Properties Properties Properties

获取包的 DtsProperties 对象的集合。Gets the collection of the DtsProperties object for the package.

ProtectionLevel ProtectionLevel ProtectionLevel ProtectionLevel

获取包的保护级别。Gets the level of protection on the package.

SafeRecursiveProjectPackageExecution SafeRecursiveProjectPackageExecution SafeRecursiveProjectPackageExecution SafeRecursiveProjectPackageExecution

获取或设置一个值,该值指示包的递归执行是否安全。Gets or sets a value that indicates whether recursive execution of the package is safe.

SaveCheckpoints SaveCheckpoints SaveCheckpoints SaveCheckpoints

获取或设置一个值,该值指示在包执行期间包是否使用检查点。Gets or sets a value that indicates whether the package will use checkpoints during package execution.

Site Site Site Site

获取或设置容器的站点。Gets or sets the site for the container.

(Inherited from DtsContainer)
StartTime StartTime StartTime StartTime

返回容器开始执行的时间。Returns the time that the container began execution. 该属性为只读。This property is read-only.

(Inherited from DtsContainer)
StopTime StopTime StopTime StopTime

返回容器结束执行的时间。Returns the time that the container ended execution. 该属性为只读。This property is read-only.

(Inherited from DtsContainer)
SuppressConfigurationWarnings SuppressConfigurationWarnings SuppressConfigurationWarnings SuppressConfigurationWarnings

获取或设置一个值,该值指示是否取消配置生成的警告。Gets or sets a value that indicates whether the warnings generated by configurations are suppressed.

SuspendRequired SuspendRequired SuspendRequired SuspendRequired

获取或设置一个布尔值, 该值指示在遇到断点时任务是否应挂起。Gets or sets a Boolean that indicates if 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.

(Inherited from DtsContainer)
TransactionOption TransactionOption TransactionOption TransactionOption

获取或设置一个 DTSTransactionOption 枚举值,该值指示容器是否参与事务。Gets or sets a DTSTransactionOption enumeration value that indicates whether the container participates in transactions.

(Inherited from DtsContainer)
UpdateObjects UpdateObjects UpdateObjects UpdateObjects

*** 不推荐使用的成员;请参阅 "备注"。 ***   获取或设置一个值, 该值指示在找到更新的版本时, 是否可以在加载包时更新可扩展对象。*** Member deprecated; see Remarks. ***   Gets or sets a value that indicates whether the extensible objects can be updated at package load time if an updated version is found.

VariableDispenser VariableDispenser VariableDispenser VariableDispenser

返回一个 VariableDispenser 对象,以便可以锁定与容器关联的变量。Returns a VariableDispenser object so variables associated with the container can be locked.

(Inherited from DtsContainer)
Variables Variables Variables Variables

返回一个集合,其中包含与此容器关联的变量。Returns a collection that contains the variables associated with this container. 该属性为只读。This property is read-only.

(Inherited from DtsContainer)
VersionBuild VersionBuild VersionBuild VersionBuild

获取包的内部版本号。Gets the build version of the package.

VersionComments VersionComments VersionComments VersionComments

获取与包关联的版本注释。Gets the version comments associated with the package.

VersionGUID VersionGUID VersionGUID VersionGUID

获取第一次创建包时生成的版本 GUID。Gets the version GUID generated when the package is first created. 此字段为只读。This field is read-only.

VersionMajor VersionMajor VersionMajor VersionMajor

获取包的主内部版本号。Gets the major build version of the package.

VersionMinor VersionMinor VersionMinor VersionMinor

获取包的次内部版本号。Gets the minor build version of the package.

Warnings Warnings Warnings Warnings

获取为包设置的警告集合。Gets the collection of warnings set on the package. 此字段为只读。This field is read-only.

方法

AcceptBreakpointManager(BreakpointManager) AcceptBreakpointManager(BreakpointManager) AcceptBreakpointManager(BreakpointManager) AcceptBreakpointManager(BreakpointManager)

在创建任务或容器时由运行时引擎调用此方法,并且为其传递 BreakpointManager 管理器,以便使任务能够创建、删除和检查断点的状态。This method is called by the run-time engine when a task or container is created, and passes it a BreakpointManager manager to allow the task to create, remove, and check the status of breakpoints. 此方法由运行时调用,在代码中未使用。This method is called by the runtime and is not used in code.

(Inherited from DtsContainer)
AddDataTapPoint(String, String, Int32, String) AddDataTapPoint(String, String, Int32, String) AddDataTapPoint(String, String, Int32, String) AddDataTapPoint(String, String, Int32, String)

为给定数据流和给定数据流路径添加数据分流点。Add a data tap point on a given data flow and given data flow path.

CheckSignature() CheckSignature() CheckSignature() CheckSignature()

检查包的数字签名的状态。Checks the status of the digital signature of the package.

ComputeExpressions(Boolean) ComputeExpressions(Boolean) ComputeExpressions(Boolean) ComputeExpressions(Boolean)

包对象的计算表达式。Compute expressions of the package object.

Dispose() Dispose() Dispose() Dispose()

执行应用程序定义的、与释放或重置非托管资源相关的任务。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from DtsContainer)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定两个对象实例是否相等。Determines whether two object instances are equal.

(Inherited from DtsObject)
Execute() Execute() Execute() Execute()

返回一个 DTSExecResult 枚举,其中包含有关包执行成功与否的信息。Returns a DTSExecResult enumeration that contains information about the success or failure of the package execution.

Execute(Connections, Variables, IDTSEvents, IDTSLogging, Object) Execute(Connections, Variables, IDTSEvents, IDTSLogging, Object) Execute(Connections, Variables, IDTSEvents, IDTSLogging, Object) Execute(Connections, Variables, IDTSEvents, IDTSLogging, Object)

将应用程序、容器或包作为包工作流的一部分运行。Runs the application, container, or package as part of a package workflow.

(Inherited from DtsContainer)
ExportConfigurationFile(String) ExportConfigurationFile(String) ExportConfigurationFile(String) ExportConfigurationFile(String)

创建包含包中所有可部署的变量的 XML 文件。Creates an XML file that contains all deployable variables in the package.

FindReferencedObjects(Object) FindReferencedObjects(Object) FindReferencedObjects(Object) FindReferencedObjects(Object)

返回引用对象枚举。Returns a reference object enumeration.

GetBreakpointTargets(IDTSBreakpointSite, Boolean) GetBreakpointTargets(IDTSBreakpointSite, Boolean) GetBreakpointTargets(IDTSBreakpointSite, Boolean) GetBreakpointTargets(IDTSBreakpointSite, Boolean)

返回 BreakpointTargets 集合。Returns a BreakpointTargets collection. 根据 onlyEnabled 参数的设置,该集合包含包中的所有断点目标或仅包含启用的断点目标。Depending on the setting of the onlyEnabled parameter, the collection contains all breakpoint targets in the package, or only enabled breakpoint targets.

GetExecutionPath() GetExecutionPath() GetExecutionPath() GetExecutionPath()

返回当前包的执行路径。Returns the execution path of the current package.

GetExpression(String) GetExpression(String) GetExpression(String) GetExpression(String)

返回一个值,该值包含指定的属性的表达式。Returns a value that contains the expression for the specified property. Null 表示不分配表达式。Null means no expression is assigned.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

返回此实例的哈希代码。Returns the hash code for this instance.

(Inherited from DtsObject)
GetObjectFromPackagePath(String, DtsProperty) GetObjectFromPackagePath(String, DtsProperty) GetObjectFromPackagePath(String, DtsProperty) GetObjectFromPackagePath(String, DtsProperty)

从指定的包路径返回包属性和对象。Returns a package property and the object from the specified package path.

GetPackagePath() GetPackagePath() GetPackagePath() GetPackagePath()

返回一个值,该值包含包位置的相对路径。Returns a value that contains the relative path to the package location.

ImportConfigurationFile(String) ImportConfigurationFile(String) ImportConfigurationFile(String) ImportConfigurationFile(String)

加载与包关联的配置文件。Loads a configuration file associated with the package.

LoadFromXML(String, IDTSEvents) LoadFromXML(String, IDTSEvents) LoadFromXML(String, IDTSEvents) LoadFromXML(String, IDTSEvents)

加载包及其已在内存中以 XML 格式保存的所有对象。Loads a package and all its objects that have been saved to memory in XML format. 若要将保存的包加载到硬盘,请使用 LoadPackage(String, IDTSEvents) 方法。To load a package that is saved to the hard drive, use the LoadPackage(String, IDTSEvents) method.

LoadFromXML(XmlNode, IDTSEvents) LoadFromXML(XmlNode, IDTSEvents) LoadFromXML(XmlNode, IDTSEvents) LoadFromXML(XmlNode, IDTSEvents)

此方法不能由应用程序代码调用。This method is not callable by your application code. 若要加载保存为 .xml 的包,请使用 LoadPackage(String, IDTSEvents) 方法。To load a package saved as .xml, use the LoadPackage(String, IDTSEvents) method.

(Inherited from DtsContainer)
LoadUserCertificateByHash(Byte[]) LoadUserCertificateByHash(Byte[]) LoadUserCertificateByHash(Byte[]) LoadUserCertificateByHash(Byte[])

根据证书哈希加载包的证书。Loads the certificate for the package according to the certificate hash.

LoadUserCertificateByName(String) LoadUserCertificateByName(String) LoadUserCertificateByName(String) LoadUserCertificateByName(String)

根据证书名称加载包的证书。Loads the certificate for the package according to the certificate name.

ProcessConfiguration(String, Object) ProcessConfiguration(String, Object) ProcessConfiguration(String, Object) ProcessConfiguration(String, Object)

为包及其对象指定配置信息。Specifies the configuration information for a package and its objects.

RegenerateID() RegenerateID() RegenerateID() RegenerateID()

为包创建新的 GUID 并更新包 ID 属性。Creates a new GUID for the package and updates the package ID property.

ResumeExecution() ResumeExecution() ResumeExecution() ResumeExecution()

暂停后恢复执行任务。Resumes execution of the task after pausing. 由运行时引擎恢复任务或容器。The task or container is resumed by the runtime engine.

(Inherited from DtsContainer)
SaveToXML(String, IDTSEvents) SaveToXML(String, IDTSEvents) SaveToXML(String, IDTSEvents) SaveToXML(String, IDTSEvents)

以 XML 格式将包保存到内存中。Saves the package to memory in an XML format. 若要将包以 .xml 保存到硬盘,请使用 SaveToXml(String, Package, IDTSEvents) 方法。To save a package as .xml to the hard drive, use the SaveToXml(String, Package, IDTSEvents) method.

SaveToXML(XmlDocument, XmlNode, IDTSEvents) SaveToXML(XmlDocument, XmlNode, IDTSEvents) SaveToXML(XmlDocument, XmlNode, IDTSEvents) SaveToXML(XmlDocument, XmlNode, IDTSEvents)

此方法不能由应用程序代码调用。This method is not callable by your application code. 若将包保存为 .xml,请使用 SaveToXml(String, Package, IDTSEvents) 方法。To save a package as .xml, use the SaveToXml(String, Package, IDTSEvents) method.

(Inherited from DtsContainer)
SetExpression(String, String) SetExpression(String, String) SetExpression(String, String) SetExpression(String, String)

将指定的表达式分配给属性。Assigns the specified expression to the property. 指定 null 将从属性中删除现有表达式。Specify null to remove an existing expression from the property.

SetWrappedExecutable(IDTSExecutable100) SetWrappedExecutable(IDTSExecutable100) SetWrappedExecutable(IDTSExecutable100) SetWrappedExecutable(IDTSExecutable100)

返回包装的可执行对象。Returns the wrapped executable object.

(Inherited from EventsProvider)
SuspendExecution() SuspendExecution() SuspendExecution() SuspendExecution()

可执行文件需要挂起时调用。Called when the executable needs to suspend. 运行时引擎调用此方法。This method is called by the runtime engine.

(Inherited from DtsContainer)
Validate(Connections, Variables, IDTSEvents, IDTSLogging) Validate(Connections, Variables, IDTSEvents, IDTSLogging) Validate(Connections, Variables, IDTSEvents, IDTSLogging) Validate(Connections, Variables, IDTSEvents, IDTSLogging)

允许容器确定它是否包含阻止其成功执行的无效设置。Allows the container to determine if it contains invalid settings that will prevent it from executing successfully.

(Inherited from DtsContainer)

事件

Disposed Disposed Disposed Disposed

添加用于侦听组件的 Disposed 事件的事件处理程序。Adds an event handler to listen to the Disposed event on the component.

(Inherited from DtsContainer)

字段

m_executable m_executable m_executable m_executable

可执行文件。The executable.

(Inherited from Executable)

适用于