Share via


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
)

参数

  • workspaceOwner
    类型:System.String
    工作区域的所有者。

返回值

类型:System.Collections.Generic.List<StreamingCollection<LocalVersion>>
本地项列表。

.NET Framework 安全性

请参阅

参考

Repository 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间