DeploySettingsExtensions.

UseAppOffline(DeploySettings, bool) Method

Summary

Sets if the target web app should be put offline during the deployment process.
Assembly
Cake.WebDeploy.dll
Namespace
Cake.WebDeploy
Containing Type
DeploySettingsExtensions

Syntax

public static DeploySettings UseAppOffline(this DeploySettings settings, bool useAppOffline)

Parameters

Name Type Description
settings DeploySettings The publish settings.
useAppOffline bool Wether to put the app offline or not.

Return Value

Type Description
DeploySettings The same DeploySettings instance so that multiple calls can be chained.