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)
Syntax
'Declaration
Public Function Get ( _
version As VersionSpec, _
options As GetOptions _
) As GetStatus
public GetStatus Get(
VersionSpec version,
GetOptions options
)
public:
GetStatus^ Get(
VersionSpec^ version,
GetOptions options
)
member Get :
version:VersionSpec *
options:GetOptions -> GetStatus
public function Get(
version : VersionSpec,
options : GetOptions
) : GetStatus
Parameters
version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe version of the items that are being requested.
options
Type: Microsoft.TeamFoundation.VersionControl.Client.GetOptionsOne 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.