TeamFoundationVersionControlService.QueryPendingChangesById Method

Retrieves a list of pending changes, based on pending change ID. If a pending change cannot be found for a specific pending change ID, then the corresponding element in the pending change output array will be null.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
Public Function QueryPendingChangesById ( _
    requestContext As TeamFoundationRequestContext, _
    pendingChangeIds As Integer(), _
    generateDownloadUrls As Boolean _
) As PendingChange()
public PendingChange[] QueryPendingChangesById(
    TeamFoundationRequestContext requestContext,
    int[] pendingChangeIds,
    bool generateDownloadUrls
)
public:
array<PendingChange^>^ QueryPendingChangesById(
    TeamFoundationRequestContext^ requestContext, 
    array<int>^ pendingChangeIds, 
    bool generateDownloadUrls
)
member QueryPendingChangesById : 
        requestContext:TeamFoundationRequestContext * 
        pendingChangeIds:int[] * 
        generateDownloadUrls:bool -> PendingChange[] 
public function QueryPendingChangesById(
    requestContext : TeamFoundationRequestContext, 
    pendingChangeIds : int[], 
    generateDownloadUrls : boolean
) : PendingChange[]

Parameters

  • pendingChangeIds
    Type: array<System.Int32[]

    Pending change identifiers.

  • generateDownloadUrls
    Type: System.Boolean

    If true, the server will include the information that is required to download files. Only set this to true if you will be downloading the files that use the objects that are returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it).

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Server.PendingChange[]
Array of PendingChanges.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace