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
- buildInformation
 Type: Microsoft.TeamFoundation.Build.Client.IBuildInformation
- requestId
 Type: System.Int32
- returnFirstIfNotFound
 Type: System.Boolean
Return Value
Type: System.Int32
.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.