Win32_ServiceControl, ROOT\CIMV2

Class | Methods | Properties (9) | Qualifiers (6) | Instances (3) | 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 9 properties (6 Local, 3 Derived)

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

Detailed description of Win32_ServiceControl properties

Local properties (6) 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.'
readTrue
Arguments property is in 2 classes of ROOT\cimv2 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.'
readTrue
Event property is in 5 classes of ROOT\cimv2 and in 142 namespaces
ID property
CIMTYPE'string'
Description'A unique key identifying this service control item within its product.'
keyTrue
readTrue
ID property is in 16 classes of ROOT\cimv2 and in 33 namespaces
Name property
CIMTYPE'string'
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
ProductCode property
CIMTYPE'string'
Description'The product code for the product of which this service control is a part.'
keyTrue
readTrue
ProductCode property is in 5 classes of ROOT\cimv2 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.'
readTrue
Wait property is in 1 class (Win32_ServiceControl) of ROOT\cimv2 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.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
Description property
CIMTYPE'string'
Description'A textual description of the CIM_Setting object.'
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
SettingID property
CIMTYPE'string'
Description'The identifier by which the CIM_Setting object is known.'
MaxLen256
readTrue
SettingID property is in 37 classes of ROOT\cimv2 and in 10 namespaces

Win32_ServiceControl Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'Instances of this class represent instrctions for controlling both installed and uninstalled services.'
dynamicTrue
Locale1033
MappingStrings['Microsoft.MSI']
provider'MSIProv'
UUID'{E7D29B98-E3D1-11d2-8601-0000F8102E5F}'

Win32_ServiceControl System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_ServiceControl'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['Win32_MSIResource', 'CIM_Setting']___SYSTEM8
__PROPERTY_COUNT9___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:35
comments powered by Disqus
WUtils.com