共用方式為


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 中)

語法

'宣告
<GuidAttribute("1911A4FE-2D38-4A18-8F20-10F605F4AA15")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class ExecutePackageTaskClass _
    Implements ExecutePackageTask, IDTSExecutePackage100, ISupportErrorInfo
'用途
Dim instance As ExecutePackageTaskClass
[GuidAttribute("1911A4FE-2D38-4A18-8F20-10F605F4AA15")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class ExecutePackageTaskClass : ExecutePackageTask, 
    IDTSExecutePackage100, ISupportErrorInfo
[GuidAttribute(L"1911A4FE-2D38-4A18-8F20-10F605F4AA15")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class ExecutePackageTaskClass : ExecutePackageTask, 
    IDTSExecutePackage100, ISupportErrorInfo
[<GuidAttribute("1911A4FE-2D38-4A18-8F20-10F605F4AA15")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
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 ExecutePackageTaskClass 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.
公用屬性 ParameterAssignments Gets the IDTS parameter assignments.
公用屬性 UseProjectReference Gets or sets a value indicating whether the ExecutePackageTaskClass uses project reference.
公用屬性 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 基礎結構。Specifies that an interface on the object supports the error information.
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

For more information about the features of this task, see 執行封裝工作.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask 命名空間