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
- definitionId
Type: System.Int32
Return Value
Type: BuildDefinition
.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.