共用方式為


Web Deploy appPoolPipeline Provider

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2

appPoolPipeline

The appPoolPipeline provider displays or sets the managed pipeline mode of the specified application pool.

Example

msdeploy -verb:sync -source:appPoolPipeline="Source Web Site" -dest:appPoolPipeline="Target Web Site"

The appPoolPipeline provider takes an argument that is the path of a Web site or Web application.

Note

The appPoolPipeline provider applies only to Web Deploy 2.0 and later versions.

In a dump operation, if you use the -xml operation setting, the managed pipeline mode of the application pool for the specified site or application is displayed in XML format.

In a sync operation, when you specify source and destination Web site or Web application paths as arguments to the provider, the application pool pipeline mode on the destination is set to the application pool pipeline mode of the source. If you specify a Web site or Web application path for the destination argument but not for the source argument, the pipeline mode of the destination application pool is set to "Integrated".

Custom Provider Settings

The appPoolPipeline provider has one optional custom provider setting.

PipelineMode

In a sync operation, the PipelineMode provider setting specifies the managed pipeline mode for the destination application pool. This setting is useful when you want to change the pipeline mode of the application pool on the destination without regard to the setting on the source. The default value for this provider setting is "Integrated". This setting has no effect in a dump operation, and cannot be applied to a source argument in a sync operation.

Setting usage: ,PipelineMode=[Classic | Integrated]

Example usages

1) Display the managed pipeline mode of the application pool for the Default Web Site in XML format.

msdeploy.exe -verb:dump -source:appPoolPipeline="Default Web Site" -xml

2) Change the managed pipeline mode of the application pool of the Web site on the destination to match the pipeline mode of the application pool of the Web site on the source.

msdeploy -verb:sync -source:appPoolPipeline="Source Web site" -dest:appPoolPipeline="Default Web site"

3) Change the application pool pipeline mode on the destination to "Integrated", regardless of the pipeline mode of the application pool on the source.

msdeploy -verb:sync -source:appPoolPipeline -dest:appPoolPipeline="Default Web Site",PipelineMode=Integrated

4) Do not specify a value for the source provider, which sets the application pool pipeline mode on the destination to its default value of Integrated.

msdeploy -verb:sync -source:appPoolPipeline -dest:appPoolPipeline="Default Web Site"

See Also

Concepts

Web Deploy appPoolEnable32Bit Provider
Web Deploy appPoolNetFx Provider