Delen via


LocationServerMapCache.ReadServerLocation Method

Finds the location for the specified guid. If it is not found, null is returned.

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

Syntax

'Declaration
Public Shared Function ReadServerLocation ( _
    serverId As Guid _
) As String
public static string ReadServerLocation(
    Guid serverId
)
public:
static String^ ReadServerLocation(
    Guid serverId
)
static member ReadServerLocation : 
        serverId:Guid -> string
public static function ReadServerLocation(
    serverId : Guid
) : String

Parameters

Return Value

Type: System.String
The location of the location service for this server or null if the guid is not found.

.NET Framework Security

See Also

Reference

LocationServerMapCache Class

Microsoft.TeamFoundation.Framework.Client Namespace