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
'Декларация
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
- buildInformation
Type: Microsoft.TeamFoundation.Build.Client.IBuildInformation
The build information object 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.