TeamFoundationVersionControlService.QueryPendingChangesById 方法

根據暫止變更 ID. 擷取暫止變更的清單, 如果暫止變更無法為特定的暫止變更 ID 中找到,則在暫存的變更輸出陣列的對應項目將會是空的。

命名空間:  Microsoft.TeamFoundation.VersionControl.Server
組件:  Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

語法

'宣告
Public Function QueryPendingChangesById ( _
    requestContext As TeamFoundationRequestContext, _
    pendingChangeIds As Integer(), _
    generateDownloadUrls As Boolean _
) As PendingChange()
public PendingChange[] QueryPendingChangesById(
    TeamFoundationRequestContext requestContext,
    int[] pendingChangeIds,
    bool generateDownloadUrls
)

參數

  • pendingChangeIds
    類型:array<System.Int32[]
    暫止變更識別項。
  • generateDownloadUrls
    類型:System.Boolean
    如果為 True,伺服器將包含需要下載檔案的資訊。請設定為 true,如果您下載使用物件傳回的檔案。呼叫會更快速且需要較少的頻寬,當這個參數為 false (沒有指定它) 的多載的預設值。

傳回值

類型:array<Microsoft.TeamFoundation.VersionControl.Server.PendingChange[]
陣列 PendingChanges。

.NET Framework 安全性

請參閱

參考

TeamFoundationVersionControlService 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間