Unregisters the currently registered service host and optionally deletes all resources (controller and agents).
If you plan to move this service host to another computer, pass in false for deleteResources. If not, pass true.
Assembly: Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.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.