Share via


StopService method of the Win32_ApplicationService class

The StopService WMI class method places the service represented by the Win32_ApplicationService in the stopped state.

Note

For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.

This topic uses Managed Object Format (MOF) syntax. For more information about using this method see Calling a Method.

Syntax

uint32 StopService();

Parameters

This method has no parameters.

Requirements

Minimum supported client
Windows XP
Minimum supported server
Windows Server 2003
Namespace
Root\CIMV2
Header
Sdoias.h
MOF
Msi.mof
DLL
MsiProv.dll

See also

Installed Applications Classes

Win32_ApplicationService