This documentation is archived and is not being maintained.

UpdateLocalVersionQueue::QueueUpdate Method (String, Int32, String, Int32)

Queues a request to tell the server the local disk location of an item in the workspace.

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

public:
void QueueUpdate(
	String^ sourceServerItem, 
	int itemId, 
	String^ targetLocalItem, 
	int localVersion
)

Parameters

sourceServerItem
Type: System::String

The committed server path of the item in the workspace, or the target server item if the item is uncommitted (pending add or branch)

itemId
Type: System::Int32

Item ID of the item in the workspace (optional; used for backward compatibility with TFS 2010 and earlier servers)

targetLocalItem
Type: System::String

New local path of the item, or null to remove it from the workspace

localVersion
Type: System::Int32

The version of the item in the workspace. If zero, the request refers to the uncommitted slot for the item ID. If non-zero, the request refers to the committed slot for the item ID.

Show: