Dela via


IBuildAgent.MachineName Property

Note: This API is now obsolete.

Gets or sets the computer name for the build agent.

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

Syntax

'Declaration
<ObsoleteAttribute("This property has been deprecated. Please use Computer instead.",  _
    False)> _
Property MachineName As String
[ObsoleteAttribute("This property has been deprecated. Please use Computer instead.", 
    false)]
string MachineName { get; set; }
[ObsoleteAttribute(L"This property has been deprecated. Please use Computer instead.", 
    false)]
property String^ MachineName {
    String^ get ();
    void set (String^ value);
}
[<ObsoleteAttribute("This property has been deprecated. Please use Computer instead.", 
    false)>]
abstract MachineName : string with get, set
function get MachineName () : String
function set MachineName (value : String)

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

IBuildAgent Interface

Microsoft.TeamFoundation.Build.Client Namespace