Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Workspace.Get Method (GetRequest, GetOptions, GetFilterCallback, Object)

Request that the server update the specified items.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public GetStatus Get(
	GetRequest request,
	GetOptions options,
	GetFilterCallback filterCallback,
	Object userData


Type: Microsoft.TeamFoundation.VersionControl.Client.GetRequest

The item and version that is being requested.

Type: Microsoft.TeamFoundation.VersionControl.Client.GetOptions

One or more of the enum values (None, Overwrite, GetAll, Preview, or Remap) for the Get operation.

Type: Microsoft.TeamFoundation.VersionControl.Client.GetFilterCallback

A delegate to be called before the operations are processed.

Type: System.Object

An object to pass to the delegate when it is called.

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.

The filtering delegate sets the Ignore property on each operation to be discarded, which allows the caller to discard operations before they are processed.

© 2015 Microsoft