TeamFoundationBuildResourceService.TestBuildAgentConnection Method
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function TestBuildAgentConnection ( _
requestContext As TeamFoundationRequestContext, _
agentUri As String _
) As BuildAgentQueryResult
public BuildAgentQueryResult TestBuildAgentConnection(
TeamFoundationRequestContext requestContext,
string agentUri
)
public:
BuildAgentQueryResult^ TestBuildAgentConnection(
TeamFoundationRequestContext^ requestContext,
String^ agentUri
)
member TestBuildAgentConnection :
requestContext:TeamFoundationRequestContext *
agentUri:string -> BuildAgentQueryResult
public function TestBuildAgentConnection(
requestContext : TeamFoundationRequestContext,
agentUri : String
) : BuildAgentQueryResult
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- agentUri
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Build.Server.BuildAgentQueryResult
.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.