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
- serverId
Type: System.Guid
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
- 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.