Workspace.QueryShelvedChanges 方法 (String, String, array<ItemSpec , Boolean)

获取指定的查询的搁置更改。

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

语法

声明
Public Function QueryShelvedChanges ( _
    shelvesetName As String, _
    shelvesetOwner As String, _
    itemSpecs As ItemSpec(), _
    includeDownloadInfo As Boolean _
) As PendingSet()
public PendingSet[] QueryShelvedChanges(
    string shelvesetName,
    string shelvesetOwner,
    ItemSpec[] itemSpecs,
    bool includeDownloadInfo
)

参数

  • shelvesetName
    类型:System.String
    搁置集名称。可能为 null。
  • shelvesetOwner
    类型:System.String
    用户名。可能为 null。
  • includeDownloadInfo
    类型:System.Boolean
    true (包括对下载文件的信息。错误不包括。

返回值

类型:array<Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
数组挂起的设置与搁置的更改的挂起的更改。

备注

请设置 includeDownloadInfo 为 true,只有 + 当您将使用返回下载文件的信息。调用会更快并且少带宽,在此参数中的错误 (未指定它) 的超加载的默认值

.NET Framework 安全性

请参见

参考

Workspace 类

QueryShelvedChanges 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间