Share via


ILocationService.LocationForCurrentConnection Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method LocationForCurrentConnection(ServiceDefinition) Returns the ___location for the ServiceDefintion that should be used based on the current connection. This method will never return null or empty. If it succeeds it will return a targetable ___location for the provided ServiceDefinition. When determining what ___location to return for the ServiceDefinition and current connection the following rules will be applied: 1. Try to find a ___location for the ClientAccessMapping. 2. Try to find a ___location for the DefaultAccessMapping. 3. Use the first ___location in the LocationMappings list.
Public method LocationForCurrentConnection(String, Guid, Guid)

Top

See Also

Reference

ILocationService Interface

Microsoft.VisualStudio.Services.Location Namespace