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
- 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.