Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns items, based on the given item identifiers and version.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QueryItemsById ( _
itemIds As Integer(), _
changeSet As Integer, _
generateDownloadUrls As Boolean, _
options As Integer _
) As Item()
[WebMethodAttribute]
public Item[] QueryItemsById(
int[] itemIds,
int changeSet,
bool generateDownloadUrls,
int options
)
[WebMethodAttribute]
public:
array<Item^>^ QueryItemsById(
array<int>^ itemIds,
int changeSet,
bool generateDownloadUrls,
int options
)
[<WebMethodAttribute>]
member QueryItemsById :
itemIds:int[] *
changeSet:int *
generateDownloadUrls:bool *
options:int -> Item[]
public function QueryItemsById(
itemIds : int[],
changeSet : int,
generateDownloadUrls : boolean,
options : int
) : Item[]
Parameters
itemIds
Type: array<System.Int32[]Item identifiers.
changeSet
Type: System.Int32Item version.
- generateDownloadUrls
Type: System.Boolean
- options
Type: System.Int32
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Server.Item[]
Array of items. If an item cannot be found for a given ItemId or if the user does not have permission to access a specific item then the corresponding array position will have a value of null.
.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.