Freigeben über


BuildRequest.Reason Property

Gets or sets the reason this build was queued.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, Direction := ClientPropertySerialization.ClientToServerOnly)> _
Public Property Reason As BuildReason
[ClientPropertyAttribute(ClientVisibility.Public, Direction = ClientPropertySerialization.ClientToServerOnly)]
public BuildReason Reason { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, Direction = ClientPropertySerialization::ClientToServerOnly)]
public:
property BuildReason Reason {
    BuildReason get ();
    void set (BuildReason value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, Direction = ClientPropertySerialization.ClientToServerOnly)>]
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

BuildRequest Class

Microsoft.TeamFoundation.Build.Server Namespace