Share via


Repository.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 LocalVersionUpdate() _
)
[WebMethodAttribute]
public void UpdateLocalVersion(
    string workspaceName,
    string ownerName,
    LocalVersionUpdate[] updates
)
[WebMethodAttribute]
public:
void UpdateLocalVersion(
    String^ workspaceName, 
    String^ ownerName, 
    array<LocalVersionUpdate^>^ updates
)
[<WebMethodAttribute>]
member UpdateLocalVersion : 
        workspaceName:string * 
        ownerName:string * 
        updates:LocalVersionUpdate[] -> unit
public function UpdateLocalVersion(
    workspaceName : String, 
    ownerName : String, 
    updates : LocalVersionUpdate[]
)

Parameters

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace