This documentation is archived and is not being maintained.

VersionControlServer.GetChangeset Method (Int32, Boolean, Boolean, String[])

Gets the details of a Changeset (comment, changes, etc.).

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

public Changeset GetChangeset(
	int changesetId,
	bool includeChanges,
	bool includeDownloadInfo,
	string[] propertyNameFilters


Type: System.Int32
The ID of the Changeset.
Type: System.Boolean
True to include the changes in the Changeset. False to include only metadata.
Type: System.Boolean
True to get the information needed to download files. Specify false to save bandwidth if not necessary.
Type: System.String[]
List of the property name filters to filter the result.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Changeset
A reference to a Changeset object specifying these details.

Only set includeDownloadInfo to true if you are going to be downloading the files using the objects that are returned. The call will be faster and require less bandwidth when includeDownloadInfo is false (default for overloads that don't specify it).