Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Get requests that the server update the current workspace with the specified versions of the items. The filtering delegate allows the caller to discard operations before they are processed by setting the Ignore property on each operation to be discarded.

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,
	string[] itemPropertyFilters,
	out Conflict[] conflicts


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

the items and versions being requested

Type: Microsoft.TeamFoundation.VersionControl.Client.GetOptions

options for the get (all, overwrite, etc.)

Type: Microsoft.TeamFoundation.VersionControl.Client.GetFilterCallback

a delegate to be called by using the operations obtained from the server before the operations are processed

Type: System.Object

a user-specified object passed to the delegate when it is called

Type: System.String[]

A list of versioned item properties to return with each get operation

Type: System.String[]
Type: Microsoft.TeamFoundation.VersionControl.Client.Conflict[]

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.GetStatus
a GetStatus object describing the number of operations, conflicts, errors, and so on that occurred when processing the get

© 2015 Microsoft