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.
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
'Declaration
Function CreateBuildAgentSpec ( _
name As String, _
computer As String, _
tags As List(Of String) _
) As IBuildAgentSpec
IBuildAgentSpec CreateBuildAgentSpec(
string name,
string computer,
List<string> tags
)
IBuildAgentSpec^ CreateBuildAgentSpec(
String^ name,
String^ computer,
List<String^>^ tags
)
abstract CreateBuildAgentSpec :
name:string *
computer:string *
tags:List<string> -> IBuildAgentSpec
function CreateBuildAgentSpec(
name : String,
computer : String,
tags : List<String>
) : IBuildAgentSpec
Parameters
name
Type: System.StringThe agent name to query. Supports wildcard characters.
computer
Type: System.StringThe computer to query. Null or empty means "do not care".
tags
Type: System.Collections.Generic.List<String>The tags to query. Null or empty means "do not care".
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.