Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Note: This API is now obsolete.
Creates a copy of the build agent in the specified team project.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
<ObsoleteAttribute("This method has been deprecated. Please remove all references.", _
True)> _
Function CopyTo ( _
teamProject As String _
) As IBuildAgent
[ObsoleteAttribute("This method has been deprecated. Please remove all references.",
true)]
IBuildAgent CopyTo(
string teamProject
)
[ObsoleteAttribute(L"This method has been deprecated. Please remove all references.",
true)]
IBuildAgent^ CopyTo(
String^ teamProject
)
[<ObsoleteAttribute("This method has been deprecated. Please remove all references.",
true)>]
abstract CopyTo :
teamProject:string -> IBuildAgent
function CopyTo(
teamProject : String
) : IBuildAgent
Parameters
- teamProject
Type: System.String
A string that contains the name of the team project in which the copy is created.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent
Returns an IBuildAgent for the new build agent.
Remarks
To save the new agent to the build computer, call the SaveBuildAgents method.
.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.