共用方式為


ConnectedServiceMetadata Class

This class contains the "public" information of a ConnectedService. This includes Name, FriendlyName, kind, and Description. Used by Clients to display This information without revealing the secret info and used when reading from the database

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.ConnectedServiceMetadata

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

Syntax

'Declaration
Public NotInheritable Class ConnectedServiceMetadata
public sealed class ConnectedServiceMetadata
public ref class ConnectedServiceMetadata sealed
[<Sealed>]
type ConnectedServiceMetadata =  class end
public final class ConnectedServiceMetadata

The ConnectedServiceMetadata type exposes the following members.

Constructors

  Name Description
Public method ConnectedServiceMetadata

Top

Properties

  Name Description
Public property AuthenticatedBy The GUID for the user who did the OAuth authentication to created this service
Public property Description
Public property FriendlyName
Public property Kind
Public property Name
Public property ServiceUri Optional uri to connect directly to the service such as https://microsoft.azure.com
Public property TeamProject

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.Framework.Client Namespace