Share via


IBuildServer.CreateBuildDefinitionSpec Method (String, String)

Creates a new build definition specification that can be used to query build definitions.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Function CreateBuildDefinitionSpec ( _
    teamProject As String, _
    definitionName As String _
) As IBuildDefinitionSpec
IBuildDefinitionSpec CreateBuildDefinitionSpec(
    string teamProject,
    string definitionName
)
IBuildDefinitionSpec^ CreateBuildDefinitionSpec(
    String^ teamProject, 
    String^ definitionName
)
abstract CreateBuildDefinitionSpec : 
        teamProject:string * 
        definitionName:string -> IBuildDefinitionSpec
function CreateBuildDefinitionSpec(
    teamProject : String, 
    definitionName : String
) : IBuildDefinitionSpec

Parameters

  • teamProject
    Type: System.String

    The team project for which definitions can be queried.

  • definitionName
    Type: System.String

    The definition name to query. Wildcard characters are supported.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinitionSpec
The new build definition specification.

.NET Framework Security

See Also

Reference

IBuildServer Interface

CreateBuildDefinitionSpec Overload

Microsoft.TeamFoundation.Build.Client Namespace