Delen via


IBuildServer.CreateBuildDefinitionSpec Method (String, String, array<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, _
    propertyNameFilters As String() _
) As IBuildDefinitionSpec
IBuildDefinitionSpec CreateBuildDefinitionSpec(
    string teamProject,
    string definitionName,
    string[] propertyNameFilters
)
IBuildDefinitionSpec^ CreateBuildDefinitionSpec(
    String^ teamProject, 
    String^ definitionName, 
    array<String^>^ propertyNameFilters
)
abstract CreateBuildDefinitionSpec : 
        teamProject:string * 
        definitionName:string * 
        propertyNameFilters:string[] -> IBuildDefinitionSpec
function CreateBuildDefinitionSpec(
    teamProject : String, 
    definitionName : String, 
    propertyNameFilters : 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 - supports wildcard characters.

  • propertyNameFilters
    Type: array<System.String[]

    Property name filters

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