Workstation.UpdateServerUriReferences Method
Updates the cache to reference the specified source control repository using the specified uniform resource identifier (URI).
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaração
Public Sub UpdateServerUriReferences ( _
sourceControl As VersionControlServer, _
uri As Uri _
)
public void UpdateServerUriReferences(
VersionControlServer sourceControl,
Uri uri
)
public:
void UpdateServerUriReferences(
VersionControlServer^ sourceControl,
Uri^ uri
)
member UpdateServerUriReferences :
sourceControl:VersionControlServer *
uri:Uri -> unit
public function UpdateServerUriReferences(
sourceControl : VersionControlServer,
uri : Uri
)
Parameters
- sourceControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
The repository to reference.
- uri
Type: System.Uri
The URI for the repository server.
.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.