ExecutePackageTaskClass 类

Contains the members used to configure and run an Execute Package task, which runs other Integration Services packages.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask..::..ExecutePackageTaskClass

命名空间:  Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask
程序集:  Microsoft.SqlServer.ExecPackageTaskWrap(在 Microsoft.SqlServer.ExecPackageTaskWrap.dll 中)

语法

声明
<ClassInterfaceAttribute()> _
<GuidAttribute("D952C6E4-FC5B-41F9-B16C-C168F8AC5F5B")> _
Public Class ExecutePackageTaskClass _
    Implements ExecutePackageTask, IDTSExecutePackage100, ISupportErrorInfo
用法
Dim instance As ExecutePackageTaskClass
[ClassInterfaceAttribute()]
[GuidAttribute("D952C6E4-FC5B-41F9-B16C-C168F8AC5F5B")]
public class ExecutePackageTaskClass : ExecutePackageTask, 
    IDTSExecutePackage100, ISupportErrorInfo
[ClassInterfaceAttribute()]
[GuidAttribute(L"D952C6E4-FC5B-41F9-B16C-C168F8AC5F5B")]
public ref class ExecutePackageTaskClass : ExecutePackageTask, 
    IDTSExecutePackage100, ISupportErrorInfo
[<ClassInterfaceAttribute()>]
[<GuidAttribute("D952C6E4-FC5B-41F9-B16C-C168F8AC5F5B")>]
type ExecutePackageTaskClass =  
    class
        interface ExecutePackageTask
        interface IDTSExecutePackage100
        interface ISupportErrorInfo
    end
public class ExecutePackageTaskClass implements ExecutePackageTask, IDTSExecutePackage100, ISupportErrorInfo

ExecutePackageTaskClass 类型公开以下成员。

构造函数

  名称 说明
公共方法 ExecutePackageTaskClass Initializes a new instance of the ExecutePackageTask class.

页首

属性

  名称 说明
公共属性 Connection Gets or sets the name of the connection used by the ExecutePackageTask.
公共属性 ExecuteOutOfProcess Gets or sets a value indicating whether the child package to be executed by the ExecutePackageTask should be executed in the same process as the ExecutePackageTask.
公共属性 PackageID Gets or sets the identifier of the child package to be executed by the ExecutePackageTask.
公共属性 PackageName Gets or sets the name of the child package to be executed by the ExecutePackageTask.
公共属性 PackagePassword Sets the password of the child package to be executed by the ExecutePackageTask.
公共属性 VersionID Gets or sets the version identifier of the child package to be executed by the ExecutePackageTask.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 InterfaceSupportsErrorInfo 基础结构。
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

For more information about the features of this task, see 执行包任务.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。