Workspace.Get Method (array<String[], VersionSpec, RecursionType, GetOptions)
Requests that the server update the current workspace with the latest 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 ( _
items As String(), _
version As VersionSpec, _
recursion As RecursionType, _
options As GetOptions _
) As GetStatus
'Usage
Dim instance As Workspace
Dim items As String()
Dim version As VersionSpec
Dim recursion As RecursionType
Dim options As GetOptions
Dim returnValue As GetStatus
returnValue = instance.Get(items, version, _
recursion, options)
public GetStatus Get(
string[] items,
VersionSpec version,
RecursionType recursion,
GetOptions options
)
public:
GetStatus^ Get(
array<String^>^ items,
VersionSpec^ version,
RecursionType recursion,
GetOptions options
)
public function Get(
items : String[],
version : VersionSpec,
recursion : RecursionType,
options : GetOptions
) : GetStatus
Parameters
items
Type: array<System.String[]The items and versions being requested.
version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe version of the items being requested.
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeThe level of recursion desired.
options
Type: Microsoft.TeamFoundation.VersionControl.Client.GetOptionsOptions for the get.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.GetStatus
Returns a GetStatus object which describes the number of operations, conflicts, and errors that occurred when processing the get.
.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.