共用方式為


IBuildAgentSpec.ServiceHostName Property

Gets or sets the service host name of the desired build agents. Wildcard characters are supported.

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

Syntax

'Declaration
Property ServiceHostName As String
string ServiceHostName { get; set; }
property String^ ServiceHostName {
    String^ get ();
    void set (String^ value);
}
abstract ServiceHostName : string with get, set
function get ServiceHostName () : String 
function set ServiceHostName (value : String)

Property Value

Type: System.String
The service host name of the desired build agents. Wildcard characters are supported.

.NET Framework Security

See Also

Reference

IBuildAgentSpec Interface

Microsoft.TeamFoundation.Build.Client Namespace