共用方式為


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
)

參數

傳回值

類型:System.Collections.Generic.List<StreamingCollection<LocalVersion>>
本機項目清單。

.NET Framework 安全性

請參閱

參考

Repository 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間