共用方式為


Repository.QueryShelvesets 方法

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

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

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

語法

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

參數

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

傳回值

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

.NET Framework 安全性

請參閱

參考

Repository 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間