共用方式為


IBuildServer.GetBuildServiceHost Method (String)

Gets the service host that matches the specified name.

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

Syntax

'Declaration
Function GetBuildServiceHost ( _
    serviceHostName As String _
) As IBuildServiceHost
IBuildServiceHost GetBuildServiceHost(
    string serviceHostName
)
IBuildServiceHost^ GetBuildServiceHost(
    String^ serviceHostName
)
abstract GetBuildServiceHost : 
        serviceHostName:string -> IBuildServiceHost
function GetBuildServiceHost(
    serviceHostName : String
) : IBuildServiceHost

Parameters

  • serviceHostName
    Type: System.String

    The name of the service host.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildServiceHost
The build service host for the specified name.

.NET Framework Security

See Also

Reference

IBuildServer Interface

GetBuildServiceHost Overload

Microsoft.TeamFoundation.Build.Client Namespace