UtilServicingUninstallService Method
Uninstalls a service.
Namespace: DevCase.Core.Windows.ServicingAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void UninstallService(
string svcName,
ServiceAccount account = ServiceAccount.LocalSystem,
string username = "",
string password = ""
)
Public Shared Sub UninstallService (
svcName As String,
Optional account As ServiceAccount = ServiceAccount.LocalSystem,
Optional username As String = "",
Optional password As String = ""
)
Dim svcName As String
Dim account As ServiceAccount
Dim username As String
Dim password As String
UtilServicing.UninstallService(svcName, account,
username, password)
public:
static void UninstallService(
String^ svcName,
ServiceAccount account = ServiceAccount::LocalSystem,
String^ username = L"",
String^ password = L""
)
static member UninstallService :
svcName : string *
?account : ServiceAccount *
?username : string *
?password : string
(* Defaults:
let _account = defaultArg account ServiceAccount.LocalSystem
let _username = defaultArg username ""
let _password = defaultArg password ""
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- svcName String
-
The service name.
- account ServiceAccount (Optional)
-
The service account.
- username String (Optional)
-
The service username.
- password String (Optional)
-
The username password.