TeamFoundationVersionControlService.UpdateLocalVersion Method (TeamFoundationRequestContext, String, String, array<BaseLocalVersionUpdate )
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
Public Sub UpdateLocalVersion ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
ownerName As String, _
updates As BaseLocalVersionUpdate() _
)
public void UpdateLocalVersion(
TeamFoundationRequestContext requestContext,
string workspaceName,
string ownerName,
BaseLocalVersionUpdate[] updates
)
public:
void UpdateLocalVersion(
TeamFoundationRequestContext^ requestContext,
String^ workspaceName,
String^ ownerName,
array<BaseLocalVersionUpdate^>^ updates
)
member UpdateLocalVersion :
requestContext:TeamFoundationRequestContext *
workspaceName:string *
ownerName:string *
updates:BaseLocalVersionUpdate[] -> unit
public function UpdateLocalVersion(
requestContext : TeamFoundationRequestContext,
workspaceName : String,
ownerName : String,
updates : BaseLocalVersionUpdate[]
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringThe name of the workspace to update the local version.
ownerName
Type: System.StringThe owner of the workspace.
updates
Type: array<Microsoft.TeamFoundation.VersionControl.Server.BaseLocalVersionUpdate[]Array of local version updates.
.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.