Share via


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

获取在指定的 Shelveset上的搁置的更改。

命名空间:  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[]
数组与挂起的更改的 PendingSet 对象指定的 Shelveset的。

备注

true 的那些设置的 includeDownloadInfo,如果要下载的文件使用返回的对象。此方法调用会更快并且少带宽,当 includeDownloadInfo 为 false 时 (不指定它) 的超加载的默认值。

.NET Framework 安全性

请参见

参考

VersionControlServer 类

QueryShelvedChanges 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间