This documentation is archived and is not being maintained.

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)

IBuildServiceHost^ CreateBuildServiceHost(
	String^ name, 
	Uri^ baseUrl
)

Parameters

name
Type: System::String

The name of the service host.

baseUrl
Type: System::Uri

The base URL of the service host.

Return Value

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

Show: