Workspace.Get Method (array<String , VersionSpec, RecursionType, GetOptions)
Request that the server update the specified 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
public GetStatus Get(
string[] items,
VersionSpec version,
RecursionType recursion,
GetOptions options
)
public:
GetStatus^ Get(
array<String^>^ items,
VersionSpec^ version,
RecursionType recursion,
GetOptions options
)
member Get :
items:string[] *
version:VersionSpec *
recursion:RecursionType *
options:GetOptions -> GetStatus
public function Get(
items : String[],
version : VersionSpec,
recursion : RecursionType,
options : GetOptions
) : GetStatus
Parameters
- items
Type: array<System.String[]
The items that are being requested.
- version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The version of the items that are being requested.
- recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType
A flag that specifies the type of recursion.
- options
Type: Microsoft.TeamFoundation.VersionControl.Client.GetOptions
One 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 forth occurred while 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.