BuildDeploymentWebService.CreateDeploymentEnvironment 方法

创建新部署环境与此项目相关联

命名空间:  Microsoft.TeamFoundation.Build.Server
程序集:  Microsoft.TeamFoundation.Build.Server(在 Microsoft.TeamFoundation.Build.Server.dll 中)

语法

声明
<WebMethodAttribute> _
Public Function CreateDeploymentEnvironment ( _
    deploymentEnvironmentCreationData As DeploymentEnvironmentCreationData _
) As DeploymentEnvironmentMetadata
[WebMethodAttribute]
public DeploymentEnvironmentMetadata CreateDeploymentEnvironment(
    DeploymentEnvironmentCreationData deploymentEnvironmentCreationData
)

参数

返回值

类型:Microsoft.TeamFoundation.Build.Server.DeploymentEnvironmentMetadata
新环境的 DeploymentEnvironmentMetadata

.NET Framework 安全性

请参阅

参考

BuildDeploymentWebService 类

Microsoft.TeamFoundation.Build.Server 命名空间