共用方式為


DeploymentService.QueryDeploymentsByUri 方法

取得符合部署傳遞的 URI 部署的清單。

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

語法

'宣告
Public Function QueryDeploymentsByUri ( _
    deploymentUris As Uri() _
) As BuildDeployment()
public BuildDeployment[] QueryDeploymentsByUri(
    Uri[] deploymentUris
)

參數

  • deploymentUris
    類型:array<System.Uri[]
    部署查詢的 URI

傳回值

類型:array<Microsoft.TeamFoundation.Build.Client.BuildDeployment[]
是長度相同。deploymentUris 陣列傳遞的陣列 BuildDeployment [。如果找不到相關的部署空在傳回的陣列中。

.NET Framework 安全性

請參閱

參考

DeploymentService 類別

Microsoft.TeamFoundation.Build.Client 命名空間