Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- workspaceName
Type: System.String
- ownerName
Type: System.String
- updates
Type: array<Microsoft.TeamFoundation.VersionControl.Server.LocalVersionUpdate[]
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.