Поделиться через


InformationNodeConverters.GetBuildSteps Method (IBuildDetail)

Gets a sorted list of the build steps from the specified build.

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

Syntax

'Declaration
Public Shared Function GetBuildSteps ( _
    build As IBuildDetail _
) As List(Of IBuildStep)
public static List<IBuildStep> GetBuildSteps(
    IBuildDetail build
)
public:
static List<IBuildStep^>^ GetBuildSteps(
    IBuildDetail^ build
)
static member GetBuildSteps : 
        build:IBuildDetail -> List<IBuildStep> 
public static function GetBuildSteps(
    build : IBuildDetail
) : List<IBuildStep>

Parameters

Return Value

Type: System.Collections.Generic.List<IBuildStep>
The sorted list of build steps. Sorting is accomplished first by hierarchy, then by start time, and finally by ID.

Remarks

Note that build steps are no longer used after Visual Studio Application Lifecycle Management 2008 Team Foundation Server and have been replaced with various new information node types, including IBuildMessage, IBuildError, IBuildWarning, and IActivityTracking. As a result, this method will typically return an empty list when talking to a server that is running a newer version (for example, Team Foundation Server 2010). (The server version can be determined from the IBuildServer.BuildServerVersion property.)

.NET Framework Security

See Also

Reference

InformationNodeConverters Class

GetBuildSteps Overload

Microsoft.TeamFoundation.Build.Client Namespace