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
'Déclaration
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
- 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
Returns IBuildServiceHost.
.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.