Repository.Get 方法

命名空间:  Microsoft.TeamFoundation.VersionControl.Server
程序集:  Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

语法

声明
<WebMethodAttribute> _
Public Function Get ( _
    workspaceName As String, _
    ownerName As String, _
    requests As GetRequest(), _
    force As Boolean, _
    noGet As Boolean, _
    maxResults As Integer, _
    options As Integer _
) As List(Of StreamingCollection(Of GetOperation))
[WebMethodAttribute]
public List<StreamingCollection<GetOperation>> Get(
    string workspaceName,
    string ownerName,
    GetRequest[] requests,
    bool force,
    bool noGet,
    int maxResults,
    int options
)

参数

  • workspaceName
    类型:System.String
    工作区域的名称更新。
  • ownerName
    类型:System.String
    工作区域所有者包括字段的用户名。
  • force
    类型:System.Boolean
    如果为 true,访问,即使客户端基于 LocalVersion 表是最新的。
  • noGet
    类型:System.Boolean
    如果未提供获取此通知客户端不希望检索项目的服务器。它调用作为一个信息性命令。
  • maxResults
    类型:System.Int32
    限制可返回结果的总数。
  • options
    类型:System.Int32
    选项位图来获取操作的。

返回值

类型:System.Collections.Generic.List<StreamingCollection<GetOperation>>
每个请求一个结果。

.NET Framework 安全性

请参阅

参考

Repository 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间