共用方式為


Workstation.UpdateServerUriReferences Method

Note: This API is now obsolete.

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

'Declaration
<ObsoleteAttribute("This method is no longer useful and performs no work.  You may safely omit your call to this method.",  _
    False)> _
Public Sub UpdateServerUriReferences ( _
    sourceControl As VersionControlServer, _
    uri As Uri _
)
[ObsoleteAttribute("This method is no longer useful and performs no work.  You may safely omit your call to this method.", 
    false)]
public void UpdateServerUriReferences(
    VersionControlServer sourceControl,
    Uri uri
)
[ObsoleteAttribute(L"This method is no longer useful and performs no work.  You may safely omit your call to this method.", 
    false)]
public:
void UpdateServerUriReferences(
    VersionControlServer^ sourceControl, 
    Uri^ uri
)
[<ObsoleteAttribute("This method is no longer useful and performs no work.  You may safely omit your call to this method.", 
    false)>]
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