Share via


LocationServerMapCache.EnsureServerMappingExists Method

If this call is not a change, nothing will be done.

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

Syntax

'Declaration
Public Shared Function EnsureServerMappingExists ( _
    location As String, _
    serverId As Guid _
) As Boolean
public static bool EnsureServerMappingExists(
    string location,
    Guid serverId
)
public:
static bool EnsureServerMappingExists(
    String^ location, 
    Guid serverId
)
static member EnsureServerMappingExists : 
        location:string * 
        serverId:Guid -> bool
public static function EnsureServerMappingExists(
    location : String, 
    serverId : Guid
) : boolean

Parameters

Return Value

Type: System.Boolean
True if this is the first time the mapping was written.

.NET Framework Security

See Also

Reference

LocationServerMapCache Class

Microsoft.TeamFoundation.Framework.Client Namespace