共用方式為


BuildSummary.Reason Property

Gets the reason this deployment started.

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

Syntax

'Declaration
Public ReadOnly Property Reason As BuildReason
public BuildReason Reason { get; }
public:
property BuildReason Reason {
    BuildReason get ();
}
member Reason : BuildReason with get
function get Reason () : BuildReason

Property Value

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

.NET Framework Security

See Also

Reference

BuildSummary Class

Microsoft.TeamFoundation.Build.Client Namespace