共用方式為


TeamFoundationVersionControlService.QueryShelvesets 方法 (TeamFoundationRequestContext, String, String)

列出在系統中的擱置集。 傳回擱置集的中繼資料。

若要擷取變更清單,請使用 QueryPendingSets()。

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

語法

'宣告
Public Function QueryShelvesets ( _
    requestContext As TeamFoundationRequestContext, _
    shelvesetName As String, _
    ownerName As String _
) As List(Of Shelveset)
public List<Shelveset> QueryShelvesets(
    TeamFoundationRequestContext requestContext,
    string shelvesetName,
    string ownerName
)

參數

  • shelvesetName
    型別:System.String
    尋找任何的擱置集或 null 的名稱。
  • ownerName
    型別:System.String
    尋找任何的擱置集擁有人或 null。

傳回值

型別:System.Collections.Generic.List<Shelveset>
擱置集的中繼資料。

.NET Framework 安全性

請參閱

參考

TeamFoundationVersionControlService 類別

QueryShelvesets 多載

Microsoft.TeamFoundation.VersionControl.Server 命名空間