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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)