This documentation is archived and is not being maintained.

IBuildAgent.GetExpandedBuildDirectory Method

Gets the build directory for the build agent with all variable expansions evaluated according to the given build definition.

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

string GetExpandedBuildDirectory(
	IBuildDefinition buildDefinition


Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition

IBuildDefinition. Specifies the build definition for which the build directory is returned.

Return Value

Type: System.String
The path of the build directory.