共用方式為


BuildCommonUtil.BuildAgentNameVariable Property

Gets the variable to use when referencing the build agent name in an agent's BuildDirectory property.

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

Syntax

'Declaration
Public Shared ReadOnly Property BuildAgentNameVariable As String
public static string BuildAgentNameVariable { get; }
public:
static property String^ BuildAgentNameVariable {
    String^ get ();
}
static member BuildAgentNameVariable : string with get
static function get BuildAgentNameVariable () : String

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

BuildCommonUtil Class

Microsoft.TeamFoundation.Build.Common Namespace