共用方式為


RegisteredTfsConnections.GetConfigurationServer Method (Uri)

Gets the registered configuration server associated with the specified URI.

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

Syntax

'Declaration
Public Shared Function GetConfigurationServer ( _
    uri As Uri _
) As RegisteredConfigurationServer
public static RegisteredConfigurationServer GetConfigurationServer(
    Uri uri
)
public:
static RegisteredConfigurationServer^ GetConfigurationServer(
    Uri^ uri
)
static member GetConfigurationServer : 
        uri:Uri -> RegisteredConfigurationServer
public static function GetConfigurationServer(
    uri : Uri
) : RegisteredConfigurationServer

Parameters

  • uri
    Type: System.Uri

    The URI of the desired registered configuration server.

Return Value

Type: Microsoft.TeamFoundation.Client.RegisteredConfigurationServer
The RegisteredConfigurationServer instance associated with the specified URI.
Null if no server is found with the specified URI.

.NET Framework Security

See Also

Reference

RegisteredTfsConnections Class

GetConfigurationServer Overload

Microsoft.TeamFoundation.Client Namespace