Workspace.Get Method (VersionSpec, GetOptions)

Request that the server update the current workspace with the specified version of all mapped items.

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

public GetStatus Get(
	VersionSpec version,
	GetOptions options


Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec

The version of the items that are being requested.

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.