共用方式為


AccountHostMapping Class

A mapping of a host to a hosting account. Used to track both associations and pre-created hosts available for assignment.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Account.AccountHostMapping

Namespace:  Microsoft.VisualStudio.Services.Account
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

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

The AccountHostMapping type exposes the following members.

Constructors

  Name Description
Public method AccountHostMapping

Top

Properties

  Name Description
Public property AccountId Obsolete. The hosting account the host is assigned to, or null if the host is pre-created and not yet assigned.
Public property Collation The Collation of the host.
Public property HostId The hostId of a team project collection or pre-created hosting account.
Public property LastUpdated Timestamp of last updated.
Public property Lcid The Lcid of the host.
Public property MappingFlags Details about mapping, such as whether the host was pre-created and assigned, or created on demand.
Public property Status

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 Returns a string that represents the current object. (Inherited from Object.)

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.VisualStudio.Services.Account Namespace