Repository.QueryLocalVersions 方法
查詢使用者對其工作區的本機項目資訊。
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Function QueryLocalVersions ( _
workspaceName As String, _
workspaceOwner As String, _
itemSpecs As ItemSpec() _
) As List(Of StreamingCollection(Of LocalVersion))
[WebMethodAttribute]
public List<StreamingCollection<LocalVersion>> QueryLocalVersions(
string workspaceName,
string workspaceOwner,
ItemSpec[] itemSpecs
)
參數
- workspaceName
型別:System.String
工作區名稱。
- workspaceOwner
型別:System.String
工作區的擁有人。
- itemSpecs
型別:array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
傳回值
型別:System.Collections.Generic.List<StreamingCollection<LocalVersion>>
本機項目清單
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。