Compartilhar via


IBuildAgentSpec.MachineName Property

Note: This API is now obsolete.

Gets or sets the computer name of the build agent.

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

Syntax

'Declaração
<ObsoleteAttribute("This property has been deprecated. Please remove all references.",  _
    False)> _
Property MachineName As String
    Get
    Set
[ObsoleteAttribute("This property has been deprecated. Please remove all references.", 
    false)]
string MachineName { get; set; }
[ObsoleteAttribute(L"This property has been deprecated. Please remove all references.", 
    false)]
property String^ MachineName {
    String^ get ();
    void set (String^ value);
}
[<ObsoleteAttribute("This property has been deprecated. Please remove all references.", 
    false)>]
abstract MachineName : string with get, set
function get MachineName () : String
function set MachineName (value : String)

Property Value

Type: System.String
The machine name of the desired build agents. Specify null for all machine names.

Remarks

Null indicates that the computer name is not required.

.NET Framework Security

See Also

Reference

IBuildAgentSpec Interface

Microsoft.TeamFoundation.Build.Client Namespace