Freigeben über


BuildDetail.Reason Property

Gets the reason this build started.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, Direction := ClientPropertySerialization.ServerToClientOnly)> _
Public Property Reason As BuildReason
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, Direction = ClientPropertySerialization.ServerToClientOnly)]
public BuildReason Reason { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private, Direction = ClientPropertySerialization::ServerToClientOnly)]
public:
property BuildReason Reason {
    BuildReason get ();
    void set (BuildReason value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, Direction = ClientPropertySerialization.ServerToClientOnly)>]
member Reason : BuildReason with get, set
function get Reason () : BuildReason 
function set Reason (value : BuildReason)

Property Value

Type: Microsoft.TeamFoundation.Build.Server.BuildReason
Returns BuildReason.

.NET Framework Security

See Also

Reference

BuildDetail Class

Microsoft.TeamFoundation.Build.Server Namespace