Managing Packages Programmatically
新增: 2006 年 7 月 17 日
If you need manage and execute Integration Services packages outside the development environment, you can manipulate packages programmatically. In this approach, you have a range of options:
- Load and execute an existing package without modification.
- Load an existing package, reconfigure it (for example, for a different data source), and execute it.
- Create a new package, add and configure components object by object and property by property, save it, and execute it.
You can load and execute an existing package from a client application by writing only a few lines of code.
This section describes and demonstrates how to execute an existing package programmatically and how to access the output of the data flow from other applications. As an advanced programming option, you can programmatically create an Integration Services package line by line as described in Building Packages Programmatically.
This section also discusses other administrative tasks that you can perform programmatically to manage stored packages, running packages, and package roles.
在此章節中
Topic | Description |
---|---|
Understanding the Differences between Local and Remote Execution |
Discusses critical differences between executing a package locally or on the server. |
Describes how to execute an existing package from a client application on the local computer. |
|
Describes how to execute an existing package from a client application and to ensure that the package runs on the server. |
|
Describes how to execute a package on the local computer and load the output of the data flow into a client application by using the DataReader destination and the DtsClient namespace. |
|
Describes how to discover available packages that are managed by the Integration Services service. |
|
Describes how to create, rename, and delete both packages and folders. |
|
Describes how to list packages that are currently running, examine their properties, and stop a running package. |
|
Describes how to get or set information about the roles assigned to a package or a folder. |
參考
Topic | Description |
---|---|
Lists the predefined Integration Services error codes with their symbolic names and descriptions. |
相關章節
Topic | Description |
---|---|
Discusses how to extend the control flow by using the Script task, and how to extend the data flow by using the Script component. |
|
Discusses how to create program custom tasks, data flow components, and other package objects for use in multiple packages. |
|
Discusses how to create, configure, and save Integration Services packages programmatically. |
|
Lists and describes the Integration Services programming samples that are available as an optional installation component. |
請參閱
概念
Integration Services Programming
其他資源
SQL Server Integration Services
Integration Services 開發人員資訊中心
Integration Services 開發的增強功能