Freigeben über


IBuildServer.CreateBuildServiceHost Method (String, Uri)

Creates a new service host with the specified name and base URL.

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

Syntax

'Declaration
Function CreateBuildServiceHost ( _
    name As String, _
    baseUrl As Uri _
) As IBuildServiceHost
IBuildServiceHost CreateBuildServiceHost(
    string name,
    Uri baseUrl
)
IBuildServiceHost^ CreateBuildServiceHost(
    String^ name, 
    Uri^ baseUrl
)
abstract CreateBuildServiceHost : 
        name:string * 
        baseUrl:Uri -> IBuildServiceHost
function CreateBuildServiceHost(
    name : String, 
    baseUrl : Uri
) : IBuildServiceHost

Parameters

  • baseUrl
    Type: System.Uri

    The base URL of the service host.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildServiceHost
The new service host.

.NET Framework Security

See Also

Reference

IBuildServer Interface

CreateBuildServiceHost Overload

Microsoft.TeamFoundation.Build.Client Namespace