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 命名空间