Repository.QueryPendingChangesForWorkspace 方法
返回符合指定条件的挂起的更改列表。
这些结果受页大小为传递的值限制。 lastChange 的值在何处指定用于启动分页从或为第一页 null。
子基于递归返回的选项。 如果 RecursionType.None 指定,因此,只有 serverItem 返回。 如果 RecursionType.OneLevel 指定,并且 serverItem 表示文件夹,该文件夹及其直接子级返回。 如果 RecursionType.Full 指定,并且 serverItem 是文件夹,所有后代返回。
命名空间: Microsoft.TeamFoundation.VersionControl.Server
程序集: Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
语法
声明
<WebMethodAttribute> _
Public Function QueryPendingChangesForWorkspace ( _
workspaceName As String, _
workspaceOwner As String, _
itemSpecs As ItemSpec(), _
generateDownloadUrls As Boolean, _
pageSize As Integer, _
lastChange As String, _
<OutAttribute> ByRef failures As StreamingCollection(Of Failure) _
) As StreamingCollection(Of PendingChange)
[WebMethodAttribute]
public StreamingCollection<PendingChange> QueryPendingChangesForWorkspace(
string workspaceName,
string workspaceOwner,
ItemSpec[] itemSpecs,
bool generateDownloadUrls,
int pageSize,
string lastChange,
out StreamingCollection<Failure> failures
)
参数
- workspaceName
类型:System.String
- workspaceOwner
类型:System.String
- itemSpecs
类型:array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
- generateDownloadUrls
类型:System.Boolean
- pageSize
类型:System.Int32
- lastChange
类型:System.String
返回值
类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<PendingChange>
一些工作区域的 PendingChange 对象,与 itemspecs。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。