Partager via


Workspace.Get Method (VersionSpec, GetOptions)

Request the server to 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

'Déclaration
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 describing the number of operations, conflicts, errors, etc. that occurred while processing the Get operation.

.NET Framework Security

See Also

Reference

Workspace Class

Get Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace