Share via


VersionControlServer.QueryPendingSets 方法 (array<ItemSpec , String, String, Boolean)

获取指定的查询的挂起的更改。

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

语法

声明
Public Function QueryPendingSets ( _
    itemSpecs As ItemSpec(), _
    queryWorkspaceName As String, _
    queryUserName As String, _
    includeDownloadInfo As Boolean _
) As PendingSet()
public PendingSet[] QueryPendingSets(
    ItemSpec[] itemSpecs,
    string queryWorkspaceName,
    string queryUserName,
    bool includeDownloadInfo
)

参数

  • queryWorkspaceName
    类型:System.String
    工作区域名称 (可能为空)。
  • queryUserName
    类型:System.String
    用户名 (可能为空),是工作区域所有者,如果工作区域名称不为 null。
  • includeDownloadInfo
    类型:System.Boolean
    true 获取必需的信息下载文件。指定错误节省带宽,如果不需要。

返回值

类型:array<Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
数组包含指定的服务器项目的 PendingSet 对象挂起的更改。

备注

true 的那些设置的 includeDownloadInfo,如果要下载的文件使用返回的对象。调用会更快并且少带宽,当 includeDownloadInfo 中的错误 (未指定它) 的超加载的默认值。

.NET Framework 安全性

请参见

参考

VersionControlServer 类

QueryPendingSets 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间