共用方式為


UpdateLocalVersionQueue.QueueUpdate Method (Int32, String, Int32)

Note: This API is now obsolete.

Queues the specified item for update.

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

Syntax

'Declaration
<ObsoleteAttribute("Queuing local version updates solely by item ID is deprecated. Please use another overload of QueueUpdate.")> _
Public Sub QueueUpdate ( _
    itemId As Integer, _
    targetLocalItem As String, _
    localVersion As Integer _
)
[ObsoleteAttribute("Queuing local version updates solely by item ID is deprecated. Please use another overload of QueueUpdate.")]
public void QueueUpdate(
    int itemId,
    string targetLocalItem,
    int localVersion
)
[ObsoleteAttribute(L"Queuing local version updates solely by item ID is deprecated. Please use another overload of QueueUpdate.")]
public:
void QueueUpdate(
    int itemId, 
    String^ targetLocalItem, 
    int localVersion
)
[<ObsoleteAttribute("Queuing local version updates solely by item ID is deprecated. Please use another overload of QueueUpdate.")>]
member QueueUpdate : 
        itemId:int * 
        targetLocalItem:string * 
        localVersion:int -> unit
public function QueueUpdate(
    itemId : int, 
    targetLocalItem : String, 
    localVersion : int
)

Parameters

  • targetLocalItem
    Type: System.String

    The local path. Null if the workspace does not contain the item.

  • localVersion
    Type: System.Int32

    The changeset version of the local item. It is 0 if the workspace does not contain the item.

.NET Framework Security

See Also

Reference

UpdateLocalVersionQueue Class

QueueUpdate Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace