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
    尋找任何的擱置集或空的。
  • ownerName
    類型:System.String
    尋找任何的擱置集擁有人或 null。

傳回值

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

.NET Framework 安全性

請參閱

參考

Repository 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間