GetItemsOptions Enumeration

Options for the GetItems and GetItem calls.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public enum GetItemsOptions

Member nameDescription
DownloadIf set, causes download information to be generated. Set this only if you plan to download the contents of the file after you call GetItems().

IncludeBranchInfoIncludes information about whether an item is a branch object in the system.

IncludeRecursiveDeletesInstructs the server to return items which are affected by a Recursive Delete

IncludeSourceRenamesInclude items that are the source of a rename.

LocalOnlyOnly available in local workspaces. Will cause the retrieval of items from the local table, without making a server call.

NoneDefault behavior. Sorting is performed and no download information is generated.

UnsortedSpeeds GetItems() by not sorting the result items.