TeamFoundationVersionControlService.QueryChangesForChangeset Method (TeamFoundationRequestContext, Int32, Boolean, Int32, ItemSpec, array<String[], array<String , Boolean)
Queries changes throughout a given changeset (can be paged or non-paged).
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function QueryChangesForChangeset ( _
requestContext As TeamFoundationRequestContext, _
changesetId As Integer, _
generateDownloadUrls As Boolean, _
pageSize As Integer, _
lastItem As ItemSpec, _
itemPropertyFilters As String(), _
itemAttributeFilters As String(), _
includeMergeSourceInfo As Boolean _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryChangesForChangeset(
TeamFoundationRequestContext requestContext,
int changesetId,
bool generateDownloadUrls,
int pageSize,
ItemSpec lastItem,
string[] itemPropertyFilters,
string[] itemAttributeFilters,
bool includeMergeSourceInfo
)
public:
TeamFoundationDataReader^ QueryChangesForChangeset(
TeamFoundationRequestContext^ requestContext,
int changesetId,
bool generateDownloadUrls,
int pageSize,
ItemSpec^ lastItem,
array<String^>^ itemPropertyFilters,
array<String^>^ itemAttributeFilters,
bool includeMergeSourceInfo
)
member QueryChangesForChangeset :
requestContext:TeamFoundationRequestContext *
changesetId:int *
generateDownloadUrls:bool *
pageSize:int *
lastItem:ItemSpec *
itemPropertyFilters:string[] *
itemAttributeFilters:string[] *
includeMergeSourceInfo:bool -> TeamFoundationDataReader
public function QueryChangesForChangeset(
requestContext : TeamFoundationRequestContext,
changesetId : int,
generateDownloadUrls : boolean,
pageSize : int,
lastItem : ItemSpec,
itemPropertyFilters : String[],
itemAttributeFilters : String[],
includeMergeSourceInfo : boolean
) : TeamFoundationDataReader
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
changesetId
Type: System.Int32The changeset for which to obtain changes.
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).
pageSize
Type: System.Int32The number of changes to return.
lastItem
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpecThe itemspec of the last item in the last page retrieved, or null for the first page.
- itemPropertyFilters
Type: array<System.String[]
- itemAttributeFilters
Type: array<System.String[]
includeMergeSourceInfo
Type: System.BooleanWhether to include merge source information in the change object.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: Change[] - List of changes in the changeset.
.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.
See Also
Reference
TeamFoundationVersionControlService Class