Compartir a través de


IBuildServer.CreateBuildControllerSpec Method (String, String, array<String , Boolean)

Creates a new build controller specification that can be used to query build controllers.

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

Syntax

'Declaration
Function CreateBuildControllerSpec ( _
    name As String, _
    computer As String, _
    propertyNameFilters As String(), _
    includeAgents As Boolean _
) As IBuildControllerSpec
IBuildControllerSpec CreateBuildControllerSpec(
    string name,
    string computer,
    string[] propertyNameFilters,
    bool includeAgents
)
IBuildControllerSpec^ CreateBuildControllerSpec(
    String^ name, 
    String^ computer, 
    array<String^>^ propertyNameFilters, 
    bool includeAgents
)
abstract CreateBuildControllerSpec : 
        name:string * 
        computer:string * 
        propertyNameFilters:string[] * 
        includeAgents:bool -> IBuildControllerSpec
function CreateBuildControllerSpec(
    name : String, 
    computer : String, 
    propertyNameFilters : String[], 
    includeAgents : boolean
) : IBuildControllerSpec

Parameters

  • name
    Type: System.String

    The controller name to query - supports wildcard characters.

  • computer
    Type: System.String

    The computer to query - null/empty means "do not care".

  • propertyNameFilters
    Type: array<System.String[]

    Property name filters

  • includeAgents
    Type: System.Boolean

    Include agents into the query or not

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildControllerSpec
The new build controller specification.

.NET Framework Security

See Also

Reference

IBuildServer Interface

CreateBuildControllerSpec Overload

Microsoft.TeamFoundation.Build.Client Namespace