StartService method of the Win32_ApplicationService class

The StartService method places the service in the started 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 StartService();

Parameters

This method has no parameters.

Requirements

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

See also

Installed Applications Classes

Win32_ApplicationService