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
)

Parameters

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

the items and versions being requested

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

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

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

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

userData
Type: System.Object

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

itemAttributeFilters
Type: System.String[]

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

itemPropertyFilters
Type: System.String[]
conflicts
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

Show:
© 2014 Microsoft