你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebDeployment.DefinitionStages.WithExistingDeploymentsDeleted Interface

public interface WithExistingDeploymentsDeleted

A web deployment definition stage allowing specifying whether to delete existing deployments.

Method Summary

Modifier and Type Method and Description
WebDeployment.DefinitionStages.WithExecute withExistingDeploymentsDeleted(boolean deleteExisting)

Specifies whether existing deployed files on the web app should be deleted.

Method Details

withExistingDeploymentsDeleted

public WithExecute withExistingDeploymentsDeleted(boolean deleteExisting)

Specifies whether existing deployed files on the web app should be deleted.

Parameters:

deleteExisting - if set to true, all files on the web app will be deleted. Default is false.

Returns:

the next definition stage

Applies to