Dela via


InformationNodeConverters.GetChangesetId Method (IBuildInformation, Int32, Boolean)

Gets a changesetId from the build for a particular request, if returnFirstIfNotFound is specified, it returns the first changeset in the list if the one specified is not present.

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

Syntax

'Declaration
Public Shared Function GetChangesetId ( _
    buildInformation As IBuildInformation, _
    requestId As Integer, _
    returnFirstIfNotFound As Boolean _
) As Integer
public static int GetChangesetId(
    IBuildInformation buildInformation,
    int requestId,
    bool returnFirstIfNotFound
)
public:
static int GetChangesetId(
    IBuildInformation^ buildInformation, 
    int requestId, 
    bool returnFirstIfNotFound
)
static member GetChangesetId : 
        buildInformation:IBuildInformation * 
        requestId:int * 
        returnFirstIfNotFound:bool -> int
public static function GetChangesetId(
    buildInformation : IBuildInformation, 
    requestId : int, 
    returnFirstIfNotFound : boolean
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

InformationNodeConverters Class

GetChangesetId Overload

Microsoft.TeamFoundation.Build.Client Namespace