Share via


BuildServiceHost Class

Represents a build service host in a team project collection.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Server.BuildServiceHost

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<CallOnDeserializationAttribute("AfterDeserialize")> _
<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)> _
<RequiredClientServiceAttribute("BuildServer")> _
Public NotInheritable Class BuildServiceHost
[CallOnDeserializationAttribute("AfterDeserialize")]
[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
[RequiredClientServiceAttribute("BuildServer")]
public sealed class BuildServiceHost
[CallOnDeserializationAttribute(L"AfterDeserialize")]
[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Internal)]
[RequiredClientServiceAttribute(L"BuildServer")]
public ref class BuildServiceHost sealed
[<Sealed>]
[<CallOnDeserializationAttribute("AfterDeserialize")>]
[<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)>]
[<RequiredClientServiceAttribute("BuildServer")>]
type BuildServiceHost =  class end
public final class BuildServiceHost

The BuildServiceHost type exposes the following members.

Constructors

  Name Description
Public method BuildServiceHost

Top

Properties

  Name Description
Public property AcquiredOn Gets or sets the date and time of registration with TFS if this service host is online, else returns DateTime.MinValue.
Public property BaseUrl Gets or sets the base URL.
Public property ConnectedOn Gets or sets the date and time of connection to the message queue if this service host is online, else returns DateTime.MinValue.
Public property IsVirtual Gets a value indicating whether this service host is virtual.
Public property MessageQueueUrl Gets the message queue address. This field is read only.
Public property Name Gets or sets the display name.
Public property RequireClientCertificates
Public property Status Gets or sets the online status of the service host.
Public property StatusChangedOn Gets the date and time of the last connection from the service host.
Public property Uri Gets the URI. This field is read only.
Public property Version

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.Build.Server Namespace