Compartilhar via


VersionControlServer.GetChangesForChangeset Method (Int32, Boolean, Int32, ItemSpec)

Gets the Change objects within a Changeset. Allows the caller to page changes back from the server.

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

Syntax

'Declaração
Public Function GetChangesForChangeset ( _
    changesetId As Integer, _
    includeDownloadInfo As Boolean, _
    pageSize As Integer, _
    lastItem As ItemSpec _
) As Change()
public Change[] GetChangesForChangeset(
    int changesetId,
    bool includeDownloadInfo,
    int pageSize,
    ItemSpec lastItem
)
public:
array<Change^>^ GetChangesForChangeset(
    int changesetId, 
    bool includeDownloadInfo, 
    int pageSize, 
    ItemSpec^ lastItem
)
member GetChangesForChangeset : 
        changesetId:int * 
        includeDownloadInfo:bool * 
        pageSize:int * 
        lastItem:ItemSpec -> Change[] 
public function GetChangesForChangeset(
    changesetId : int, 
    includeDownloadInfo : boolean, 
    pageSize : int, 
    lastItem : ItemSpec
) : Change[]

Parameters

  • includeDownloadInfo
    Type: System.Boolean
    True to get the information needed to download files. Specify false to save bandwidth if not necessary.
  • pageSize
    Type: System.Int32
    The number of items to return.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.Change[]
Array of Change objects.

Remarks

lastItem should be null in the first call to this method, and then should be the last seen value on subsequent calls.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetChangesForChangeset Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace