Export (0) Print
Expand All

VersionControlServer.GetItems Method (ItemSpec[], VersionSpec, DeletedState, ItemType)

Retrieves a list of all Items in the database that match the given item specifiers.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public ItemSet[] GetItems (
	ItemSpec[] itemSpecs,
	VersionSpec version,
	DeletedState deletedState,
	ItemType itemType
)
public ItemSet[] GetItems (
	ItemSpec[] itemSpecs, 
	VersionSpec version, 
	DeletedState deletedState, 
	ItemType itemType
)
public function GetItems (
	itemSpecs : ItemSpec[], 
	version : VersionSpec, 
	deletedState : DeletedState, 
	itemType : ItemType
) : ItemSet[]

Parameters

itemSpecs

The item specifiers for the Item or Items being listed that may be on a server or on the local computer.

version

The version being listed.

deletedState

A flag representing whether to return deleted items, non-deleted items, or both.

itemType

A flag representing whether to return files, folders, or both.

Return Value

Returns an array of ItemSet objects that contain collections of matching Items.

Community Additions

ADD
Show:
© 2014 Microsoft