Share via


InformationNodeConverters.GetBuildSteps Method (IBuildInformation)

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

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

Syntax

'Declaration
Public Shared Function GetBuildSteps ( _
    buildInformation As IBuildInformation _
) As List(Of IBuildStep)
public static List<IBuildStep> GetBuildSteps(
    IBuildInformation buildInformation
)
public:
static List<IBuildStep^>^ GetBuildSteps(
    IBuildInformation^ buildInformation
)
static member GetBuildSteps : 
        buildInformation:IBuildInformation -> List<IBuildStep> 
public static function GetBuildSteps(
    buildInformation : IBuildInformation
) : 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