次の方法で共有


AgentReservationWebService.ReserveAgent Method

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'宣言
<WebMethodAttribute> _
Public Function ReserveAgent ( _
    buildUri As String, _
    name As String, _
    requiredTags As List(Of String), _
    tagComparison As TagComparison _
) As AgentReservation
[WebMethodAttribute]
public AgentReservation ReserveAgent(
    string buildUri,
    string name,
    List<string> requiredTags,
    TagComparison tagComparison
)
[WebMethodAttribute]
public:
AgentReservation^ ReserveAgent(
    String^ buildUri, 
    String^ name, 
    List<String^>^ requiredTags, 
    TagComparison tagComparison
)
[<WebMethodAttribute>]
member ReserveAgent : 
        buildUri:string * 
        name:string * 
        requiredTags:List<string> * 
        tagComparison:TagComparison -> AgentReservation 
public function ReserveAgent(
    buildUri : String, 
    name : String, 
    requiredTags : List<String>, 
    tagComparison : TagComparison
) : AgentReservation

Parameters

Return Value

Type: Microsoft.TeamFoundation.Build.Server.AgentReservation

.NET Framework Security

See Also

Reference

AgentReservationWebService Class

Microsoft.TeamFoundation.Build.Server Namespace