BuildDeploymentWebService.CreateBuildDeployment 方法

创建新部署。

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

语法

声明
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := True)> _
Public Function CreateBuildDeployment ( _
    deploymentUri As String, _
    sourceUri As String, _
    environmentName As String _
) As BuildDeployment
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
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 命名空间