This documentation is archived and is not being maintained.

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)

IBuildDefinitionSpec^ CreateBuildDefinitionSpec(
	String^ teamProject, 
	String^ definitionName, 
	array<String^>^ propertyNameFilters
)

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.

Show: