Partager via


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

'Déclaration
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

  • uri
    Type: System.Uri
    The URI for the repository server.

.NET Framework Security

See Also

Reference

Workstation Class

Microsoft.TeamFoundation.VersionControl.Client Namespace