This documentation is archived and is not being maintained.

ConnectedService Class

This class has all the "public" information but also the secret data.

It *does not* serialize the secret values, those are fetched from the client on demand.


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

public sealed class ConnectedService

The ConnectedService type exposes the following members.

Public propertyCredentialsXmlCredentials in an xml format for connecting to this service.
Public propertyEndpointA URI specific to this service.
Public propertyOAuthTokenThe OAuth token of the user who created the connected servcie.
Public propertyServiceMetadataThe service metadata which includes the name (ID), friendly name, description, kind, TeamProject and ProjectId

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToString (Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.