Unregister Method

BuildServiceHostUtilities.Unregister Method

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.

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

public static void Unregister(
	bool deleteResources,
	bool ignoreErrors
)

Parameters

deleteResources
Type: System.Boolean
ignoreErrors
Type: System.Boolean

Show:
© 2016 Microsoft