Share via


Repository5.UpdateLocalVersion Method

Called to update the local version of an item which is stored for a workspace. Clients should call this after successfully calling DownloadFile() based on instructions from Get().

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub UpdateLocalVersion ( _
    workspaceName As String, _
    ownerName As String, _
    updates As ServerItemLocalVersionUpdate(), _
    maxClientPathLength As Integer _
)
[WebMethodAttribute]
public void UpdateLocalVersion(
    string workspaceName,
    string ownerName,
    ServerItemLocalVersionUpdate[] updates,
    int maxClientPathLength
)
[WebMethodAttribute]
public:
void UpdateLocalVersion(
    String^ workspaceName, 
    String^ ownerName, 
    array<ServerItemLocalVersionUpdate^>^ updates, 
    int maxClientPathLength
)
[<WebMethodAttribute>]
member UpdateLocalVersion : 
        workspaceName:string * 
        ownerName:string * 
        updates:ServerItemLocalVersionUpdate[] * 
        maxClientPathLength:int -> unit
public function UpdateLocalVersion(
    workspaceName : String, 
    ownerName : String, 
    updates : ServerItemLocalVersionUpdate[], 
    maxClientPathLength : int
)

Parameters

  • maxClientPathLength
    Type: System.Int32

    The maximum client supported server path length.

.NET Framework Security

See Also

Reference

Repository5 Class

Microsoft.TeamFoundation.VersionControl.Server Namespace