Win32_ServiceControl, ROOT\CIMV2\ms_409

Class | Methods | Properties (8) | Qualifiers (3) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

Instances of this class represent instrctions for controlling both installed and uninstalled services.

Win32_ServiceControl properties

Win32_ServiceControl has 8 properties (5 Local, 3 Derived)

NameOriginCIMType
ArgumentsWin32_ServiceControl8 [string]
CaptionCIM_Setting8 [string]
DescriptionCIM_Setting8 [string]
EventWin32_ServiceControl8 [string]
key
ID
Win32_ServiceControl8 [string]
key
ProductCode
Win32_ServiceControl8 [string]
SettingIDCIM_Setting8 [string]
WaitWin32_ServiceControl18 [uint16]

Detailed description of Win32_ServiceControl properties

Local properties (5) of Win32_ServiceControl class

Arguments property
CIMTYPE'string'
Description'A list of arguments for starting services. The arguments are separated by null characters [~]. For example, the list of arguments One, Two, and Three are listed as: One[~]Two[~]Three.'
Arguments property is in 2 classes of ROOT\CIMV2\ms_409 and in 11 namespaces
Event property
CIMTYPE'string'
Description'A bit map representing the operations for which this object applies. The following are the valid values
Hexadecimal
Decimal
Description
0x001
1
Starts the service during the StartServices action.

0x002
2
Stops the service during the StopServices action. \nn 0x004
4


0x008
8
Deletes the service during the DeleteServices action.

The following values are only used during an uninstall

Hexadecimal
Decimal
Description

0x010
16
Starts the service during the StartServices action.

0x020
32
Stops the service during the StopServices action.

0x040
64


0x080
128
Deletes the service during the DeleteServices action.'
Event property is in 5 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
ID property
CIMTYPE'string'
Description'A unique key identifying this service control item within its product.'
keyTrue
ID property is in 9 classes of ROOT\CIMV2\ms_409 and in 33 namespaces
ProductCode property
CIMTYPE'string'
Description'The product code for the product of which this service control is a part.'
keyTrue
ProductCode property is in 5 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
Wait property
CIMTYPE'uint16'
Description'A value of 1 in this column means to wait until the service actually completes before proceeding. This implies that the event is critical to the install, and that if the event fails the resulting error cannot be ignored. A value of 0 in this column means to wait only until the service control manager (SCM) reports that this service is in a pending state.'
Wait property is in 1 class (Win32_ServiceControl) of ROOT\CIMV2\ms_409 and in 3 namespaces

Derived properties (3) of Win32_ServiceControl class

Caption property
CIMTYPE'string'
Description'A short textual description (one-line string) of the CIM_Setting object.'
Caption property is in 273 classes of ROOT\CIMV2\ms_409 and in 37 namespaces
Description property
CIMTYPE'string'
Description'A textual description of the CIM_Setting object.'
Description property is in 329 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
SettingID property
CIMTYPE'string'
Description'The identifier by which the CIM_Setting object is known.'
SettingID property is in 36 classes of ROOT\CIMV2\ms_409 and in 10 namespaces

Win32_ServiceControl Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description'Instances of this class represent instrctions for controlling both installed and uninstalled services.'
LOCALE1033

Win32_ServiceControl System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:Win32_ServiceControl'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['Win32_MSIResource', 'CIM_Setting']___SYSTEM8
__PROPERTY_COUNT8___SYSTEM3
__RELPATH'Win32_ServiceControl'___SYSTEM8
__DYNASTY'CIM_Setting'___SYSTEM8
__SUPERCLASS'Win32_MSIResource'___SYSTEM8
__CLASS'Win32_ServiceControl'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_ServiceControl

Number of classes:27
comments powered by Disqus
WUtils.com