IBuildServer.GetBuildDefinition Method (String, String)
Gets a single build definition.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaração
Function GetBuildDefinition ( _
teamProject As String, _
name As String _
) As IBuildDefinition
IBuildDefinition GetBuildDefinition(
string teamProject,
string name
)
IBuildDefinition^ GetBuildDefinition(
String^ teamProject,
String^ name
)
abstract GetBuildDefinition :
teamProject:string *
name:string -> IBuildDefinition
function GetBuildDefinition(
teamProject : String,
name : String
) : IBuildDefinition
Parameters
- teamProject
Type: System.String
The build definition with the given URI.
- name
Type: System.String
The name of the build definition.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition
Returns the build definition with the given name in the given team project.
.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.