Share via


VersionControlServer.GetItems Method

Include Protected Members
Include Inherited Members

Gets a list of Items in the database.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

GetItems(String)

Gets a list of all items in the repository that matches the specified path. This search is not recursive and returns only the current versions of non-deleted items, but download information is not included. Without download information the function call is faster, but if you want to download files, you should use one of the overload methods that will allow you to get download information with the returned items.

Public method

GetItems(array<Int32[], Int32)

Every file and folder on the server that is running Team Foundation Server has a unique ID assigned. This method allows you to get one or more Item objects for old versions of files or folders, based on the changeset those versions were part of, but download information is not included. Without download information the function call is faster, but if you want to download files, you should use one of the overload methods that will allow you to get download information with the returned items.

Public method

GetItems(String, RecursionType)

Gets a list of all items in the repository that matches the specified path. This search returns only the current versions of non-deleted items, but download information is not included. Without download information the function call is faster, but if you want to download files, you should use one of the overload methods that will allow you to get download information with the returned items.

Public method

GetItems(array<Int32[], Int32, Boolean)

Every file and folder on the server that is running Team Foundation Server has a unique ID assigned. This method allows you to get one or more Item objects for old versions of files or folders, based on the changeset that included those versions.

Public method

GetItems(String, VersionSpec, RecursionType)

Gets a list of all non-deleted items in the repository that matches the specified path and version, but download information is not included. Without download information the function call is faster, but if you want to download files, you should use one of the overload methods that will allow you to get download information with the returned items.

Public method

GetItems(array<ItemSpec[], VersionSpec, DeletedState, ItemType)

Gets a list of all items in the repository that matches the specified paths and the version. The retrieval process is done in one pass to and from the server, therefore, it is faster to call this function once with five ItemSpec objects than to make five separate function calls. Download information is not included. Without download information the function call is faster, but if you want to download files, you should use one of the overload methods that will allow you to get download information with the returned items.

Public method

GetItems(ItemSpec, VersionSpec, DeletedState, ItemType, Boolean)

Gets a list of all Items in the database that matches the given item specifiers.

Public method

GetItems(array<ItemSpec[], VersionSpec, DeletedState, ItemType, Boolean)

Gets a list of all items in the repository that matches the specified paths and version. The retrieval process is done in one pass to and from the server, therefore, it is faster to call this function once with five ItemSpec objects than to make five separate function calls.

Public method

GetItems(String, VersionSpec, RecursionType, DeletedState, ItemType)

Gets a list of all items in the repository that matches the specified path and version, but download information is not included, Without the download information the call is faster, but if you want to download files, you should use one of the overload methods that will allow you to get download information with the returned items.

Public method

GetItems(String, VersionSpec, RecursionType, DeletedState, ItemType, Boolean)

Gets a list of all items in the repository that matches the specified path and version.

Top

See Also

Reference

VersionControlServer Class

VersionControlServer Members

Microsoft.TeamFoundation.VersionControl.Client Namespace