IBuildServer.CreateBuildAgentSpec Method (String)
Note: This API is now obsolete.
Creates a new build agent specification that can be used to query build agents.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'宣言
<ObsoleteAttribute("This method has been deprecated. Please remove all references.", _
True)> _
Function CreateBuildAgentSpec ( _
teamProject As String _
) As IBuildAgentSpec
[ObsoleteAttribute("This method has been deprecated. Please remove all references.",
true)]
IBuildAgentSpec CreateBuildAgentSpec(
string teamProject
)
[ObsoleteAttribute(L"This method has been deprecated. Please remove all references.",
true)]
IBuildAgentSpec^ CreateBuildAgentSpec(
String^ teamProject
)
[<ObsoleteAttribute("This method has been deprecated. Please remove all references.",
true)>]
abstract CreateBuildAgentSpec :
teamProject:string -> IBuildAgentSpec
function CreateBuildAgentSpec(
teamProject : String
) : IBuildAgentSpec
Parameters
- teamProject
Type: System.String
The team project for which agents can be queried.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentSpec
The new build agent 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.