This documentation is archived and is not being maintained.
IBuildAgent::ReservedForBuild Property
Visual Studio 2013
Gets the identifier of the build that is currently using this agent. Returns null if the agent is not currently being used.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
- 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.
Show: