Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Workspace.Get Method (GetRequest[], GetOptions, GetFilterCallback, Object, String[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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[] requests,
	GetOptions options,
	GetFilterCallback filterCallback,
	Object userData,
	string[] itemAttributeFilters
)

Parameters

requests
Type: Microsoft.TeamFoundation.VersionControl.Client.GetRequest[]

The item and version that is being requested.

options
Type: Microsoft.TeamFoundation.VersionControl.Client.GetOptions

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

filterCallback
Type: Microsoft.TeamFoundation.VersionControl.Client.GetFilterCallback

A delegate to be called before the operations are processed.

userData
Type: System.Object

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

itemAttributeFilters
Type: System.String[]

An array of versioned item properties to return with each Get operation.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.