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

WebDeployment.DefinitionStages.WithSetParameters Interface

public interface WithSetParameters

A web deployment definition stage allowing specifying parameters.

Method Summary

Modifier and Type Method and Description
WebDeployment.DefinitionStages.WithExecute withSetParameter(String name, String value)

Adds a parameter for the deployment.

WebDeployment.DefinitionStages.WithExecute withSetParametersXmlFile(String fileUri)

Specifies the XML file containing the parameters.

Method Details

withSetParameter

public WithExecute withSetParameter(String name, String value)

Adds a parameter for the deployment.

Parameters:

name - name of the parameter
value - the value of the parameter

Returns:

the next definition stage

withSetParametersXmlFile

public WithExecute withSetParametersXmlFile(String fileUri)

Specifies the XML file containing the parameters.

Parameters:

fileUri - the XML file's URI

Returns:

the next definition stage

Applies to