Win32_ServiceSpecification, ROOT\CIMV2\ms_409

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

Description

Instances of this class represent the services that are to be installed along with an associated package.

Win32_ServiceSpecification methods

Win32_ServiceSpecification has 1 methods (1 Derived)

NameOriginReturn
InvokeCIM_Checkuint32 {'out':True}

Win32_ServiceSpecification properties

Win32_ServiceSpecification has 17 properties (9 Local, 8 Derived)

NameOriginCIMType
key
CheckID
CIM_Check8 [string]
CheckModeCIM_Check11 [boolean]
DependenciesWin32_ServiceSpecification8 [string]
DescriptionCIM_Check8 [string]
DisplayNameWin32_ServiceSpecification8 [string]
ErrorControlWin32_ServiceSpecification3 [sint32]
IDWin32_ServiceSpecification8 [string]
LoadOrderGroupWin32_ServiceSpecification8 [string]
NameCIM_Check8 [string]
PasswordWin32_ServiceSpecification8 [string]
ServiceTypeWin32_ServiceSpecification3 [sint32]
SoftwareElementIDCIM_Check8 [string]
SoftwareElementStateCIM_Check18 [uint16]
StartNameWin32_ServiceSpecification8 [string]
StartTypeWin32_ServiceSpecification3 [sint32]
TargetOperatingSystemCIM_Check18 [uint16]
VersionCIM_Check8 [string]

Detailed description of Win32_ServiceSpecification methods

Derived methods (1) of Win32_ServiceSpecification class

Invoke method
Returnuint32 {'out':True}
Description' The invoke method is to evaluate a particular check. The details of how the method evaluates a particular check in a CIM context is described by the non-abstract CIM_Check sub classes. The results of the method are based on the return value. - A 0 (zero) is returned if the condition is satisfied. - A 1 (one) is returned if the method is not supported. - Any other value indicates the condition is not satisfied. '
Invoke method is in 48 classes of ROOT\CIMV2\ms_409 and in 4 namespaces

Detailed description of Win32_ServiceSpecification properties

Local properties (9) of Win32_ServiceSpecification class

Dependencies property
CIMTYPE'string'
Description'This column is a list of names of services or load ordering groups that the system must start before this service. Names in the list are separated by Nulls. If the service has no dependencies, then Null or an empty string is returned. Dependency on a group means that this service can run if at least one member of the group is running after an attempt to start all members of the group.'
Dependencies property is in 1 class (Win32_ServiceSpecification) of ROOT\CIMV2\ms_409 and in 4 namespaces
DisplayName property
CIMTYPE'string'
Description'This property is the string that user interface programs use to identify the service.'
DisplayName property is in 5 classes of ROOT\CIMV2\ms_409 and in 30 namespaces
ErrorControl property
CIMTYPE'sint32'
Description'This column specifies the action taken by the startup program if the service fails to start during startup. One of the following error control flags must be specified in this column.
Adding the value 0x08000 to the flags in the following table specifies that the overall install will fail if the service cannot be installed into the system.

Value
Startup program's action

0x00000000
Logs the error and continues with the startup operation.

0x00000001
Logs the error, displays a message box and continues the startup operation.

0x00000003
Logs the error if it is possible and the system is restarted with the last configuration known to be good. If the last-known-good configuration is being started, the startup operation fails.'
ErrorControl property is in 5 classes of ROOT\CIMV2\ms_409 and in 6 namespaces
ID property
CIMTYPE'string'
Description'A unique key identifying this service specification item within its product.'
ID property is in 9 classes of ROOT\CIMV2\ms_409 and in 33 namespaces
LoadOrderGroup property
CIMTYPE'string'
Description'This property contains the string that names the load ordering group of which this service is a member.'
LoadOrderGroup property is in 1 class (Win32_ServiceSpecification) of ROOT\CIMV2\ms_409 and in 4 namespaces
Password property
CIMTYPE'string'
Description'The password associated with StratName.'
Password property is in 3 classes of ROOT\CIMV2\ms_409 and in 20 namespaces
ServiceType property
CIMTYPE'sint32'
Description'This property is a set of bit flags that specify the type of service.
One of the following service types must be specified in this column.
Type of service
Value
Description

SERVICE_WIN32_OWN_PROCESS
0x00000010
A Microsoft Win32� service that runs its own process.

SERVICE_WIN32_SHARE_PROCESS
0x00000020
A Win32 service that shares a process.

SERVICE_INTERACTIVE_PROCESS
0x00000100A
Win32 service that interacts with the desktop. This value cannot be used alone and must be added to one of the two previous types.


The following types of service are unsupported.
Type of service
Value
Description

SERVICE_KERNEL_DRIVER
0x00000001
A driver service.

SERVICE_FILE_SYSTEM_DRIVER
0x00000002
A file system driver service.'
ServiceType property is in 5 classes of ROOT\CIMV2\ms_409 and in 5 namespaces
StartName property
CIMTYPE'string'
Description'The account name used to start this service.'
StartName property is in 5 classes of ROOT\CIMV2\ms_409 and in 6 namespaces
StartType property
CIMTYPE'sint32'
Description'This property is a set of bit flags that specify when to start the service.
One of the following types of service start must be specified in this column.
Type of service start
Value
Description

SERVICE_AUTO_START
0x00000002
A service start during startup of the system.

SERVICE_DEMAND_START
0x00000003
A service start when the service control manager calls the StartService function.

SERVICE_DISABLED
0x00000004
Specifies a service that can no longer be started.

The following types of service starts are valid only for driver services.
Type of driver service start
ValueDescription

SERVICE_BOOT_START
0x00000000
A device driver started by the operating system loader.

SERVICE_SYSTEM_START
0x00000001
A device driver started by calling the IoInitSystem function. Use this in the ServiceControl Table, with the StartServices action put after the InstallServices action, to start a driver service during an install.'
StartType property is in 1 class (Win32_ServiceSpecification) of ROOT\CIMV2\ms_409 and in 2 namespaces

Derived properties (8) of Win32_ServiceSpecification class

CheckID property
CIMTYPE'string'
Description'An identifier used in conjunction with other keys to uniquely identify the check'
keyTrue
CheckID property is in 23 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
CheckMode property
CIMTYPE'boolean'
Description' The CheckMode property is used to indicate whether the condition is expected to exist or not exist in the environment. When the value is True, the condition is expected to exist (e.g., a file is expected to be on a system) so invoke() is expected to return True. When the value is False, the condition is not expect to exist (e.g., a file is not to be on a system) so invoke is expected to return false '
CheckMode property is in 23 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
Description property
CIMTYPE'string'
Description' A description of the objects.'
Description property is in 329 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
Name property
CIMTYPE'string'
Description'The name used to identify this software element'
Name property is in 306 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
SoftwareElementID property
CIMTYPE'string'
Description' This is an identifier for this software element.'
SoftwareElementID property is in 53 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
SoftwareElementState property
CIMTYPE'uint16'
Description' The software element state of a software element '
Values['Deployable', 'Installable', 'Executable', 'Running']
SoftwareElementState property is in 53 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
TargetOperatingSystem property
CIMTYPE'uint16'
Description' The target operating system of the this software element.'
Values['Unknown', 'Other', 'MACOS', 'ATTUNIX', 'DGUX', 'DECNT', 'Digital Unix', 'OpenVMS', 'HPUX', 'AIX', 'MVS', 'OS400', 'OS/2', 'JavaVM', 'MSDOS', 'WIN3x', 'WIN95', 'WIN98', 'WINNT', 'WINCE', 'NCR3000', 'NetWare', 'OSF', 'DC/OS', 'Reliant UNIX', 'SCO UnixWare', 'SCO OpenServer', 'Sequent', 'IRIX', 'Solaris', 'SunOS', 'U6000', 'ASERIES', 'TandemNSK', 'TandemNT', 'BS2000', 'LINUX', 'Lynx', 'XENIX', 'VM/ESA', 'Interactive UNIX', 'BSDUNIX', 'FreeBSD', 'NetBSD', 'GNU Hurd', 'OS9', 'MACH Kernel', 'Inferno', 'QNX', 'EPOC', 'IxWorks', 'VxWorks', 'MiNT', 'BeOS', 'HP MPE', 'NextStep', 'PalmPilot', 'Rhapsody', 'Windows 2000', 'Dedicated', 'VSE', 'TPF']
TargetOperatingSystem property is in 53 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
Version property
CIMTYPE'string'
Description'Version should be in the form .. or .'
Version property is in 96 classes of ROOT\CIMV2\ms_409 and in 142 namespaces

Win32_ServiceSpecification Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description'Instances of this class represent the services that are to be installed along with an associated package.'
LOCALE1033

Win32_ServiceSpecification System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:Win32_ServiceSpecification'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_Check']___SYSTEM8
__PROPERTY_COUNT17___SYSTEM3
__RELPATH'Win32_ServiceSpecification'___SYSTEM8
__DYNASTY'CIM_Check'___SYSTEM8
__SUPERCLASS'CIM_Check'___SYSTEM8
__CLASS'Win32_ServiceSpecification'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_ServiceSpecification

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