共用方式為


DeploymentService.QueryDeployments 方法

查詢部署清單

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

語法

'宣告
Public Function QueryDeployments ( _
    spec As BuildDeploymentSpec _
) As BuildDeployment()
public BuildDeployment[] QueryDeployments(
    BuildDeploymentSpec spec
)

參數

傳回值

類型:array<Microsoft.TeamFoundation.Build.Client.BuildDeployment[]
陣列 BuildDeployment [],包含部署組建和來源組建的基本資訊的每個。

.NET Framework 安全性

請參閱

參考

DeploymentService 類別

Microsoft.TeamFoundation.Build.Client 命名空間