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
声明
<ObsoleteAttribute("This property has been deprecated. Please use Computer instead.", _
False)> _
Property MachineName As String
Get
Set
[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
- 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.