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
'宣言
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
- 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.