Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the ___location for the ServiceDefinition for the provided AccessMapping. If this ServiceDefinition is FullyQualified and no LocationMapping exists for this AccessMapping then null will be returned.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function LocationForAccessMapping ( _
serviceDefinition As ServiceDefinition, _
accessMapping As AccessMapping _
) As String
string LocationForAccessMapping(
ServiceDefinition serviceDefinition,
AccessMapping accessMapping
)
String^ LocationForAccessMapping(
ServiceDefinition^ serviceDefinition,
AccessMapping^ accessMapping
)
abstract LocationForAccessMapping :
serviceDefinition:ServiceDefinition *
accessMapping:AccessMapping -> string
function LocationForAccessMapping(
serviceDefinition : ServiceDefinition,
accessMapping : AccessMapping
) : String
Parameters
serviceDefinition
Type: Microsoft.TeamFoundation.Framework.Client.ServiceDefinitionThe ServiceDefinition to find the ___location for.
accessMapping
Type: Microsoft.TeamFoundation.Framework.Client.AccessMappingThe AccessMapping to find the ___location for.
Return Value
Type: System.String
The ___location for the ServiceDefinition for the provided AccessMapping. If this ServiceDefinition is FullyQualified and no LocationMapping exists for this AccessMapping then null will be returned.
Exceptions
Exception | Condition |
---|---|
InvalidServiceDefinitionException | The ServiceDefinition passed in is not valid. |
InvalidAccessPointException | The AccessMapping passed in does not have a valid access point. |
.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.