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
'Declaração
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.VersionSpec
The version of the items being requested.
- options
Type: Microsoft.TeamFoundation.VersionControl.Client.GetOptions
Options for the Get operation.
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
- 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.