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)

Syntax

'Declaration
Public Shared Sub Unregister ( _
    deleteResources As Boolean, _
    ignoreErrors As Boolean _
)
public static void Unregister(
    bool deleteResources,
    bool ignoreErrors
)
public:
static void Unregister(
    bool deleteResources, 
    bool ignoreErrors
)
static member Unregister : 
        deleteResources:bool * 
        ignoreErrors:bool -> unit
public static function Unregister(
    deleteResources : boolean, 
    ignoreErrors : boolean
)

Parameters

.NET Framework Security

See Also

Reference

BuildServiceHostUtilities Class

Microsoft.TeamFoundation.Build.Config Namespace