共用方式為


Workspace.UpdateComputerName Method

Updates the name of the computer in the repository.

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

Syntax

'宣告
Public Sub UpdateComputerName
public void UpdateComputerName()
public:
void UpdateComputerName()
member UpdateComputerName : unit -> unit 
public function UpdateComputerName()

Remarks

This is useful when the user has renamed the machine on which the workspace is hosted.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace