Share via


BuildServiceHost.ConnectedOn Property

Gets or sets the date and time of connection to the message queue if this service host is online, else returns DateTime.MinValue.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property ConnectedOn As DateTime
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public DateTime ConnectedOn { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property DateTime ConnectedOn {
    DateTime get ();
    void set (DateTime value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member ConnectedOn : DateTime with get, set
function get ConnectedOn () : DateTime 
function set ConnectedOn (value : DateTime)

Property Value

Type: System.DateTime
Returns DateTime.

.NET Framework Security

See Also

Reference

BuildServiceHost Class

Microsoft.TeamFoundation.Build.Server Namespace