共用方式為


BuildDeploymentWebService.AddBuildDeploymentProperty 方法

將屬性加入指定的部署

命名空間:  Microsoft.TeamFoundation.Build.Server
組件:  Microsoft.TeamFoundation.Build.Server (在 Microsoft.TeamFoundation.Build.Server.dll 中)

語法

'宣告
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := True)> _
Public Sub AddBuildDeploymentProperty ( _
    deploymentUri As String, _
    key As String, _
    value As String _
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public void AddBuildDeploymentProperty(
    string deploymentUri,
    string key,
    string value
)

參數

  • deploymentUri
    類型:System.String
    執行部署的組建 URI。

.NET Framework 安全性

請參閱

參考

BuildDeploymentWebService 類別

Microsoft.TeamFoundation.Build.Server 命名空間