Bagikan melalui


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)

Syntax

'Declaration
Public Sub QueueUpdate ( _
    sourceServerItem As String, _
    itemId As Integer, _
    targetLocalItem As String, _
    localVersion As Integer _
)
public void QueueUpdate(
    string sourceServerItem,
    int itemId,
    string targetLocalItem,
    int localVersion
)
public:
void QueueUpdate(
    String^ sourceServerItem, 
    int itemId, 
    String^ targetLocalItem, 
    int localVersion
)
member QueueUpdate : 
        sourceServerItem:string * 
        itemId:int * 
        targetLocalItem:string * 
        localVersion:int -> unit
public function QueueUpdate(
    sourceServerItem : String, 
    itemId : int, 
    targetLocalItem : String, 
    localVersion : int
)

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.

.NET Framework Security

See Also

Reference

UpdateLocalVersionQueue Class

QueueUpdate Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace