PackageRemote32Class Class

Definition

表示远程 32 位包的类。Represents a class for a remote 32-bit package.

public ref class PackageRemote32Class : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointSite100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSContainer100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventsProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutionMetrics100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSName100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageSigning100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPersist100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSProjectPackage100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPropertiesProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSSequence100, Microsoft::SqlServer::Dts::Runtime::Wrapper::PackageRemote32
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("AFFE394C-B74B-410C-943B-2167391D7EF6")]
public class PackageRemote32Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageSigning100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProjectPackage100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100, Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageRemote32
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("A50D199D-3619-49EE-9F5F-DC4319A86C14")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class PackageRemote32Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageSigning100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProjectPackage100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100, Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageRemote32
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("56B59591-0AA1-4945-82E7-1138232E3EB8")]
public class PackageRemote32Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageSigning100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProjectPackage100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100, Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageRemote32
type PackageRemote32Class = class
    interface PackageRemote32
    interface IDTSPackage100
    interface IDTSPackageSigning100
    interface IDTSContainer100
    interface IDTSExecutable100
    interface IDTSEventsProvider100
    interface IDTSExecutionMetrics100
    interface IDTSSequence100
    interface IDTSPropertiesProvider100
    interface IDTSName100
    interface IDTSBreakpointSite100
    interface IDTSSuspend100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
    interface IDTSProjectPackage100
Public Class PackageRemote32Class
Implements IDTSBreakpointSite100, IDTSContainer100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSName100, IDTSPackageSigning100, IDTSPersist100, IDTSProjectPackage100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSSequence100, PackageRemote32
Inheritance
PackageRemote32Class
Attributes
Implements

Constructors

PackageRemote32Class()

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

Properties

CertificateContext

获取或设置与包关联的证书的上下文。Gets or sets the context of the certificate associated with the package.

CertificateObject

获取或设置与包关联的证书项目。Gets or sets the certificate object associated with the package.

CheckpointFileName

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

CheckpointUsage

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

CheckSignatureOnLoad

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

Configurations

获取包的配置集合。Gets the collection of configurations for the package.

Connections

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

CreationDate

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

CreationName

获取用于创建 PackageRemote32Class 对象的名称。Gets the name used to create the PackageRemote32Class object.

CreatorComputerName

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

CreatorName

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

DebugMode

获取或设置一个值,该值指示包是否处于调试模式。Gets or sets a value that indicates whether the package is in debug mode.

DelayValidation

获取或设置一个值,该值指示是否将包验证推迟到运行包时。Gets or sets a value that indicates whether package validation is delayed until the package runs.

Description

获取或设置包的说明。Gets or sets the description of the package.

DesignEvents

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

DesignTimeProperties

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

Disable

获取或设置一个值,该值指示是否禁用 PackageRemote32Class 对象。Gets or sets a value that indicates whether the PackageRemote32Class object is disabled.

DisableEventHandlers

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

EnableConfigurations

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

EncryptCheckpoints

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

Errors

获取与包关联的错误的集合。Gets the collection of errors associated with the package.

EventHandlers

获取事件处理程序对象的集合。Gets a collection of event handler objects.

EventInfos

获取与包关联的 IDTSEventInfos100 集合。Gets the IDTSEventInfos100 collection that is associated with the package.

Executables

获取包内包含的可执行对象的集合。Gets the collection of executable objects contained within the package.

ExecutionDuration

获取执行包所需的时间,以毫秒为单位。Gets the amount of time that the package spent in execution, in milliseconds.

ExecutionResult

获取一个值,该值指示包执行是成功还是失败。Gets a value that indicates the success or failure of the execution of the package.

ExecutionStatus

获取执行的当前状态。Gets the current status of the execution.

ExtendedProperties

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

FailPackageOnFailure

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

FailParentOnFailure

获取或设置一个值,该值指示在子包失败时父包是否失败。Gets or sets a value that indicates whether the parent package fails when a child package fails.

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.

ForceExecutionResult

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

ForceExecutionValue

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

ID

获取包的 ID。Gets the ID of the package.

IDTSPackageSigning100_CertificateContext

获取或设置证书上下文。Gets or sets the certificate context.

IDTSPackageSigning100_CertificateObject

获取或设置证书对象。Gets or sets the certificate object.

IDTSPackageSigning100_CheckSignatureOnLoad

获取或设置一个值,该值指示包是否在加载时检查签名。Gets or sets a value that indicates whether the package checks the signature on loading.

IDTSSuspend100_SuspendRequired

获取或设置一个值,该值指示在遇到断点时任务是否应挂起。Gets or sets a value that indicates whether the task should suspend when they encounter a breakpoint.

InteractiveMode

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

IsDefaultLocaleID

获取一个值,该值指示包是否使用默认区域设置。Gets a value that indicates whether the package uses the default locale.

IsolationLevel

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

LastModifiedProductVersion

获取最后修改的包的产品版本。Gets the product version of the last modified package.

LocaleID

获取或设置包使用的区域设置的标识符。Gets or sets the identifier of the locale used by a package.

LogEntryInfos

获取日志条目定义的集合。Gets a collection of log entry definitions.

LoggingMode

获取或设置包的日志记录模式。Gets or sets the logging mode of the package.

LoggingOptions

获取包的筛选和日志记录资源。Gets the filtering and logging resource for the package.

LogProviders

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

MaxConcurrentExecutables

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

MaximumErrorCount

获取或设置包停止运行前可以出现的最大错误数。Gets or sets the maximum number of errors that can occur before the package stops running.

Name

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

OfflineMode

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

PackageFormatVersion

获取包的格式版本。Gets the format version of the package.

PackageLocation

获取包的位置。Gets the location of the package.

PackagePassword

设置包的密码。Sets the password for the package.

PackagePriorityClass

获取或设置包线程的 Win32 线程优先级类。Gets or sets the Win32 thread priority class of the package thread.

PackageType

设置或返回一个值,该值标识创建包的工具。Gets or sets a value that identifies the tool that created the package.

PackageUpgradeOptions

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

Parent

获取包的父级。Gets the parent of the package.

PrecedenceConstraints

获取包的优先约束的集合。Gets a collection of precedence constraints for the package.

Properties

获取包的属性集合。Gets a collection of properties for the package.

ProtectionLevel

获取或设置包的保护级别。Gets or sets the level of protection on the package.

SafeRecursiveProjectPackageExecution

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

SaveCheckpoints

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

SQLFolder

获取或设置包的 SQL 文件夹。Gets or sets the SQL folder for the package.

StartTime

获取包开始执行的时间。Gets the time when the package starts execution.

StopTime

获取包停止执行的时间。Gets the time when the package stops execution.

SuppressConfigurationWarnings

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

SuspendRequired

获取或设置一个值,该值指示在遇到断点时任务是否应挂起。Gets or sets a value that indicates whether the tasks should suspend when they encounter a breakpoint.

TransactionOption

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

UpdateObjects

获取或设置一个值,该值指示当找到更新的版本时,是否可以在加载包时更新可扩展对象。Gets or sets a value that indicates whether the extensible objects can be updated at package load time if an updated version is found.

UpdatePackage

获取或设置一个值,该值指示在找到更新的版本时是否可以更新包。Gets or sets a value that indicates whether the packages can be updated when an updated version is found.

VariableDispenser

获取包中变量的分配器。Gets the dispenser of the variables in the package.

Variables

获取包含与包关联的变量的集合。Gets a collection that contains the variables associated with the package.

VersionBuild

获取或设置包的内部版本号。Gets or sets the build version of the package.

VersionComments

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

VersionGUID

获取第一次创建包时生成的版本 GUID。Gets the version GUID generated when the package is first created.

VersionMajor

获取或设置包的主内部版本号。Gets or sets the major build version of the package.

VersionMinor

获取或设置包的次内部版本号。Gets or sets the minor build version of the package.

Warnings

获取为包设置的警告集合。Gets the collection of warnings set on the package.

Methods

AcceptBreakpointManager(IDTSBreakpointManager100)

将断点管理器传递到包。Passes a breakpoint manager to a package.

CheckSignature()

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

ComputeExpressions(Boolean)

计算此 PackageRemote32Class 对象的表达式。Computes the expression of this PackageRemote32Class object.

Execute()

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

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

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

ExportConfigurationFile(String)

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

FindReferencedObjects(Object)

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

GetBreakpointTargets(IDTSBreakpointSite100, Boolean)

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

GetExpression(String)

返回一个值,该值包含指定的属性的表达式。Returns a value that contains the expression for the specified property.

GetObjectFromPackagePath(String, IDTSProperty100)

从指定的包路径返回对象。Returns an object from the specified package path.

GetParentID()

检索包的父标识符。Retrieves the parent identifier of the package.

GetPreExecutionPackageXML(Object)

检索包 XML 上的预执行。Retrieves the pre-execution of a package XML.

GetProject()

检索 DTS 项目。Retrieves the DTS project.

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

执行可执行文件。Executes the executable.

IDTSExecutable100_Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100)

在执行前通过验证可执行文件的所有依赖项和其他项,来验证可执行文件将成功地执行。Verifies that the executable will successfully execute by validating all its dependencies and other items before executing it.

IDTSPackageSigning100_CheckSignature()

检查包的签名。Checks the signature of the package.

IDTSPackageSigning100_get_CertificateContext()
IDTSPackageSigning100_get_CertificateObject()
IDTSPackageSigning100_get_CheckSignatureOnLoad()
IDTSPackageSigning100_LoadUserCertificateByHash(Byte[])

使用哈希加载用户证书。Loads the user certificate using hash.

IDTSPackageSigning100_LoadUserCertificateByName(String)

按名称加载用户证书。Loads the user certificate by name.

IDTSPackageSigning100_set_CertificateContext(Int64)
IDTSPackageSigning100_set_CertificateObject(Object)
IDTSPackageSigning100_set_CheckSignatureOnLoad(Boolean)
IDTSSuspend100_get_SuspendRequired()
IDTSSuspend100_ResumeExecution()

暂停后恢复执行任务。Resumes the execution of the task after pausing.

IDTSSuspend100_set_SuspendRequired(Boolean)
IDTSSuspend100_SuspendExecution()

通知可执行文件需要挂起。Notifies that the executable needs to suspend.

ImportConfigurationFile(String)

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

LoadFromXML(Object, IDTSEvents100)

加载包及其已在内存中以 XML 格式保存的所有对象。Loads a package and all its objects that have been saved to memory in XML format.

LoadUserCertificateByHash(Byte[])

使用哈希加载用户证书。Loads the user certificate using hash.

LoadUserCertificateByName(String)

按名称加载用户证书。Loads the user certificate by name.

PasswordMatch(String)

确定指定的密码是否与包密码相匹配。Determines whether the specified password matches with the package password.

PermitUnencryptedSave(Boolean)

允许保存末加密的信息。Permits the unencrypted information to save.

ProcessConfiguration(String, Object)

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

RegenerateID()

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

ResumeExecution()

暂停后恢复执行包。Resumes the execution of the package after pausing.

SaveToXML(Object, Object, IDTSEvents100)

以 XML 格式将包保存到内存中。Saves the package to memory in an XML format.

SetExpression(String, String)

将指定的表达式分配给属性。Assigns the specified expression to the property.

SetProject(IDTSProject100, String)

设置指定的项目。Sets the specified project.

SuspendExecution()

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

Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100)

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

Applies to