IBuildServer.GetBuildDefinition Method (String, String, QueryOptions)
Gets a single build definition using the specified options to control the amount of data retrieved.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaración
Function GetBuildDefinition ( _
teamProject As String, _
name As String, _
options As QueryOptions _
) As IBuildDefinition
IBuildDefinition GetBuildDefinition(
string teamProject,
string name,
QueryOptions options
)
IBuildDefinition^ GetBuildDefinition(
String^ teamProject,
String^ name,
QueryOptions options
)
abstract GetBuildDefinition :
teamProject:string *
name:string *
options:QueryOptions -> IBuildDefinition
function GetBuildDefinition(
teamProject : String,
name : String,
options : QueryOptions
) : IBuildDefinition
Parameters
- teamProject
Type: System.String
The team project that owns the build definition.
- name
Type: System.String
The name of the build definition.
- options
Type: Microsoft.TeamFoundation.Build.Client.QueryOptions
The options to use when querying for data.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition
The build definition with the specified name in the specified 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.