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
)
參數
- requestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- spec
型別:Microsoft.TeamFoundation.Build.Server.BuildDeploymentSpec
查詢的參數。
傳回值
型別:System.Collections.Generic.List<BuildDeployment>
陣列 BuildDeployment [in],每一個包含部署組建和來源組建的基本資訊。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。