TeamFoundationVersionControlService.QueryChangeset Method
Retrieves the details (comment, changes, etc.) for a changeset.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function QueryChangeset ( _
requestContext As TeamFoundationRequestContext, _
changesetId As Integer, _
includeChanges As Boolean, _
generateDownloadUrls As Boolean, _
includeSourceRenames As Boolean _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryChangeset(
TeamFoundationRequestContext requestContext,
int changesetId,
bool includeChanges,
bool generateDownloadUrls,
bool includeSourceRenames
)
public:
TeamFoundationDataReader^ QueryChangeset(
TeamFoundationRequestContext^ requestContext,
int changesetId,
bool includeChanges,
bool generateDownloadUrls,
bool includeSourceRenames
)
member QueryChangeset :
requestContext:TeamFoundationRequestContext *
changesetId:int *
includeChanges:bool *
generateDownloadUrls:bool *
includeSourceRenames:bool -> TeamFoundationDataReader
public function QueryChangeset(
requestContext : TeamFoundationRequestContext,
changesetId : int,
includeChanges : boolean,
generateDownloadUrls : boolean,
includeSourceRenames : boolean
) : TeamFoundationDataReader
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
changesetId
Type: System.Int32The numeric ID for the changeset being researched.
includeChanges
Type: System.BooleanIf true, the server will include the changes in the changeset; otherwise, only the metadata will be returned.
generateDownloadUrls
Type: System.BooleanIf 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).
includeSourceRenames
Type: System.BooleanWhether to include source renames.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: Changeset - A reference to a changeset object specifying these details.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.