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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。