Gets the service host that matches the specified URI.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
声明
Function GetBuildServiceHost ( _
    buildServiceHostUri As Uri _
) As IBuildServiceHost
IBuildServiceHost GetBuildServiceHost(
    Uri buildServiceHostUri
)
IBuildServiceHost^ GetBuildServiceHost(
    Uri^ buildServiceHostUri
)
abstract GetBuildServiceHost : 
        buildServiceHostUri:Uri -> IBuildServiceHost 
function GetBuildServiceHost(
    buildServiceHostUri : Uri
) : IBuildServiceHost
Parameters
- buildServiceHostUri
 Type: System.Uri
 The URI of the build service host.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildServiceHost
The build service host for the specified URI.
.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.