This documentation is archived and is not being maintained.

UpdateLocalVersionQueue::QueueUpdate Method (String, Int32, String, Int32, DateTime, Int32, array<Byte>, Int64)

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, 
	DateTime localVersionCheckinDate, 
	int encoding, 
	array<unsigned char>^ baselineHashValue, 
	long long baselineFileLength
)

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.

localVersionCheckinDate
Type: System::DateTime

The local version checkin date.

encoding
Type: System::Int32

The Windows encoding used to represent the data.

baselineHashValue
Type: array<System::Byte>

The MD5 hash value of the baseline content.

baselineFileLength
Type: System::Int64

The length of the uncompressed baseline file.

Show: