Repository4.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, _
    includeMergeInfo As Boolean, _
    itemPropertyFilters 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,
    bool includeMergeInfo,
    string[] itemPropertyFilters,
    out StreamingCollection<Failure> failures
)

參數

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<PendingChange>
群組 PendingChange 為工作區物件,符合 itemspecs。

.NET Framework 安全性

請參閱

參考

Repository4 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間