Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: void Uninstall(string)

Declaration

public static void Uninstall(
    string name
)

Summary

Un-registers a service with the specified name. Note that this method can uninstall any service, not only those registered with SingleSelfService.Install(string, string, string, string, ServiceStartMode, ServiceAccount, string, string, IList<string>). Throws a ServiceNotFoundException if no such service exists, or a Win32Exception for other errors.

Parameters

stringname Name of the service to un-register.