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
- location
Type: System.String
- serverId
Type: System.Guid
Return Value
Type: System.Boolean
True if this is the first time the mapping was written.
.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.