Ends an asynchronous operation to connect to a remote build server.
Namespace:  Microsoft.TeamFoundation.Build.Hosting
Assembly:  Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)
Syntax
'Declaration
Function EndConnect ( _
    result As IAsyncResult _
) As BuildMachineState
BuildMachineState EndConnect(
    IAsyncResult result
)
BuildMachineState^ EndConnect(
    IAsyncResult^ result
)
abstract EndConnect : 
        result:IAsyncResult -> BuildMachineState
function EndConnect(
    result : IAsyncResult
) : BuildMachineState
Parameters
- result 
 Type: System.IAsyncResult- The asynchronous operation. 
Return Value
Type: Microsoft.TeamFoundation.Build.Hosting.BuildMachineState
The state of the build server at the time of subscription.
.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.