共用方式為


TeamFoundationDeploymentService.QueryDeployments 方法

查詢清單部署

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

語法

'宣告
Public Function QueryDeployments ( _
    requestContext As TeamFoundationRequestContext, _
    spec As BuildDeploymentSpec _
) As List(Of BuildDeployment)
public List<BuildDeployment> QueryDeployments(
    TeamFoundationRequestContext requestContext,
    BuildDeploymentSpec spec
)

參數

傳回值

型別:System.Collections.Generic.List<BuildDeployment>
陣列 BuildDeployment [in],每一個包含部署組建和來源組建的基本資訊。

.NET Framework 安全性

請參閱

參考

TeamFoundationDeploymentService 類別

Microsoft.TeamFoundation.Build.Server 命名空間