Share via


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

Parameters

.NET Framework Security

See Also

Reference

Repository4 Class

Microsoft.TeamFoundation.VersionControl.Server Namespace