Partager via


AccountHostMapping.AccountId Property

Note: This API is now obsolete.

The hosting account the host is assigned to, or null if the host is pre-created and not yet assigned.

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

Syntax

'Declaration
<ObsoleteAttribute("Use HostId")> _
Public Property AccountId As Guid
[ObsoleteAttribute("Use HostId")]
public Guid AccountId { get; set; }
[ObsoleteAttribute(L"Use HostId")]
public:
property Guid AccountId {
    Guid get ();
    void set (Guid value);
}
[<ObsoleteAttribute("Use HostId")>]
member AccountId : Guid with get, set
function get AccountId () : Guid 
function set AccountId (value : Guid)

Property Value

Type: System.Guid

Remarks

AccountId and HostId will be the same value if the host is a pre-created, assigned hosting account.

.NET Framework Security

See Also

Reference

AccountHostMapping Class

Microsoft.VisualStudio.Services.Account Namespace