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.
Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Interface IVssServerDataProvider _
    Inherits ILocationService, IVssClientService
public interface IVssServerDataProvider : ILocationService, 
    IVssClientService
public interface class IVssServerDataProvider : ILocationService, 
    IVssClientService
type IVssServerDataProvider =  
    interface 
        interface ILocationService 
        interface IVssClientService 
    end
public interface IVssServerDataProvider extends ILocationService, IVssClientService
The IVssServerDataProvider type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | AuthenticatedIdentity | |
| .gif) | AuthorizedIdentity | |
| .gif) | ClientAccessMapping | The AccessMapping for the current connection to the server. Note, it is possible that the current ClientAccessMapping is not a member of the ConfiguredAccessMappings if the access point this client used to connect to the server has not been configured on it. This will never be null. (Inherited from ILocationService.) | 
| .gif) | ConfiguredAccessMappings | All of the AccessMappings that this location service knows about. Because a given location service can inherit AccessMappings from its parent these AccessMappings may exist on this location service or its parent. (Inherited from ILocationService.) | 
| .gif) | DefaultAccessMapping | The default AccessMapping for this location service. This will never be null. (Inherited from ILocationService.) | 
| .gif) | HasAuthenticated | |
| .gif) | InstanceId | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Authenticate | |
| .gif) | ConnectAsync | |
| .gif) | Disconnect | Reset the connection state back to disconnect The client must reconnect | 
| .gif) | EnsureAuthenticated | |
| .gif) | FindServiceDefinition | (Inherited from ILocationService.) | 
| .gif) | FindServiceDefinitions | (Inherited from ILocationService.) | 
| .gif) | GetAccessMapping | (Inherited from ILocationService.) | 
| .gif) | Initialize | (Inherited from IVssClientService.) | 
| .gif) | LocationForAccessMapping(ServiceDefinition, AccessMapping) | 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. (Inherited from ILocationService.) | 
| .gif) | LocationForAccessMapping(String, Guid, AccessMapping, Guid) | (Inherited from ILocationService.) | 
| .gif) | 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. (Inherited from ILocationService.) | 
| .gif) | LocationForCurrentConnection(String, Guid, Guid) | (Inherited from ILocationService.) | 
Top