Partager via


DefinitionsController.GetDefinitionById Method

Gets the build definition with id definitionId

Namespace:  Microsoft.TeamFoundation.Build.Server.Rest
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<HttpGetAttribute> _
Public Function GetDefinitionById ( _
    definitionId As Integer _
) As BuildDefinition
[HttpGetAttribute]
public BuildDefinition GetDefinitionById(
    int definitionId
)
[HttpGetAttribute]
public:
BuildDefinition^ GetDefinitionById(
    int definitionId
)
[<HttpGetAttribute>]
member GetDefinitionById : 
        definitionId:int -> BuildDefinition
public function GetDefinitionById(
    definitionId : int
) : BuildDefinition

Parameters

Return Value

Type: BuildDefinition

.NET Framework Security

See Also

Reference

DefinitionsController Class

Microsoft.TeamFoundation.Build.Server.Rest Namespace