Freigeben über


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)

Syntax

'Declaration
Public Sub QueueUpdate ( _
    sourceServerItem As String, _
    itemId As Integer, _
    targetLocalItem As String, _
    localVersion As Integer, _
    localVersionCheckinDate As DateTime, _
    encoding As Integer, _
    baselineHashValue As Byte(), _
    baselineFileLength As Long _
)
public void QueueUpdate(
    string sourceServerItem,
    int itemId,
    string targetLocalItem,
    int localVersion,
    DateTime localVersionCheckinDate,
    int encoding,
    byte[] baselineHashValue,
    long baselineFileLength
)
public:
void QueueUpdate(
    String^ sourceServerItem, 
    int itemId, 
    String^ targetLocalItem, 
    int localVersion, 
    DateTime localVersionCheckinDate, 
    int encoding, 
    array<unsigned char>^ baselineHashValue, 
    long long baselineFileLength
)
member QueueUpdate : 
        sourceServerItem:string * 
        itemId:int * 
        targetLocalItem:string * 
        localVersion:int * 
        localVersionCheckinDate:DateTime * 
        encoding:int * 
        baselineHashValue:byte[] * 
        baselineFileLength:int64 -> unit
public function QueueUpdate(
    sourceServerItem : String, 
    itemId : int, 
    targetLocalItem : String, 
    localVersion : int, 
    localVersionCheckinDate : DateTime, 
    encoding : int, 
    baselineHashValue : byte[], 
    baselineFileLength : long
)

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.

.NET Framework Security

See Also

Reference

UpdateLocalVersionQueue Class

QueueUpdate Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace