Share via


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

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

See Also

Reference

Workspace Class

Get Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace