다음을 통해 공유


BuildServiceHost.AcquiredOn Property

Gets or sets the date and time of registration with TFS 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 AcquiredOn As DateTime
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public DateTime AcquiredOn { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property DateTime AcquiredOn {
    DateTime get ();
    void set (DateTime value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member AcquiredOn : DateTime with get, set
function get AcquiredOn () : DateTime 
function set AcquiredOn (value : DateTime)

Property Value

Type: System.DateTime
Returns DateTime.

.NET Framework Security

See Also

Reference

BuildServiceHost Class

Microsoft.TeamFoundation.Build.Server Namespace