This documentation is archived and is not being maintained.

Workspace::Get Method (array<String>, VersionSpec, RecursionType, GetOptions)

Request that the server update the specified items.

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

public:
GetStatus^ Get(
	array<String^>^ items, 
	VersionSpec^ version, 
	RecursionType recursion, 
	GetOptions options
)

Parameters

items
Type: array<System::String>

The items that are being requested.

version
Type: Microsoft.TeamFoundation.VersionControl.Client::VersionSpec

The version of the items that are being requested.

recursion
Type: Microsoft.TeamFoundation.VersionControl.Client::RecursionType

A flag that specifies the type of recursion.

options
Type: Microsoft.TeamFoundation.VersionControl.Client::GetOptions

One of the enum values (GetAll, None, Overwrite, Preview, or Remap) for the Get operation.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client::GetStatus
A GetStatus object that indicates how many operations, conflicts, errors, and so on occurred when the Get operation was being processed.

Show: