BuildDeploymentWebService.CreateBuildDeployment 方法

创建新的部署。

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

语法

声明
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := True)> _
<WebMethodAttribute> _
Public Function CreateBuildDeployment ( _
    deploymentUri As String, _
    sourceUri As String, _
    environmentName As String _
) As BuildDeployment
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
[WebMethodAttribute]
public BuildDeployment CreateBuildDeployment(
    string deploymentUri,
    string sourceUri,
    string environmentName
)

参数

  • deploymentUri
    类型:System.String
    运行部署的生成的URI。
  • sourceUri
    类型:System.String
    具有部署的源生成的生成URI。
  • environmentName
    类型:System.String
    部署环境的名称。

返回值

类型:Microsoft.TeamFoundation.Build.Server.BuildDeployment
新部署的BuildDeployment

.NET Framework 安全性

请参见

参考

BuildDeploymentWebService 类

Microsoft.TeamFoundation.Build.Server 命名空间