VersionControlServer.GetChangesForChangeset Method (Int32, Boolean, Int32, ItemSpec, array<String )
Gets the changes 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
'Declaration
Public Function GetChangesForChangeset ( _
changesetId As Integer, _
includeDownloadInfo As Boolean, _
pageSize As Integer, _
lastItem As ItemSpec, _
propertyNameFilters As String() _
) As Change()
public Change[] GetChangesForChangeset(
int changesetId,
bool includeDownloadInfo,
int pageSize,
ItemSpec lastItem,
string[] propertyNameFilters
)
public:
array<Change^>^ GetChangesForChangeset(
int changesetId,
bool includeDownloadInfo,
int pageSize,
ItemSpec^ lastItem,
array<String^>^ propertyNameFilters
)
member GetChangesForChangeset :
changesetId:int *
includeDownloadInfo:bool *
pageSize:int *
lastItem:ItemSpec *
propertyNameFilters:string[] -> Change[]
public function GetChangesForChangeset(
changesetId : int,
includeDownloadInfo : boolean,
pageSize : int,
lastItem : ItemSpec,
propertyNameFilters : String[]
) : Change[]
Parameters
changesetId
Type: System.Int32
includeDownloadInfo
Type: System.BooleanTrue to get the information needed to download files. Specify false to save bandwidth if not necessary.
pageSize
Type: System.Int32The number of items to return.
lastItem
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpecInstructs the server to return items which sort after this item. If null, the server will begin from the start of the Changeset.
propertyNameFilters
Type: array<System.String[]Array of the property name filters to apply to each result.
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
- 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.