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
‘선언
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
- build
Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail
The build from which the build steps will be retrieved.
Return Value
Type: System.Collections.Generic.List<IBuildStep>
The sorted list of build steps. Sorting is done first by hierarchy, then by start time, and finally by ID.
Remarks
Note that build steps are no longer used after Visual Studio Team System 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.