CIM_Service, ROOT\CIMV2\ms_409

Class | Childs (5) | Methods (2) | Properties (10) | Qualifiers (4) | Instances | Namespaces (12)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

A CIM_Service is a Logical Element that contains the information necessary to represent and manage the functionality provided by a Device and/or SoftwareFeature. A Service is a general-purpose object to configure and manage the implementation of functionality. It is not the functionality itself.

CIM_Service - child subclasses in ROOT\CIMV2\ms_409

Number of classes:5
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
CIM_BootService0102----
CIM_ClusteringService0104----
Win32_ApplicationService0102----
Win32_BaseService22210----
Win32_PnPSignedDriver0282----

CIM_Service methods

CIM_Service has 2 methods (2 Local)

NameOriginReturn
StartServiceCIM_Serviceuint32 {'out':True}
StopServiceCIM_Serviceuint32 {'out':True}

CIM_Service properties

CIM_Service has 10 properties (5 Local, 5 Derived)

NameOriginCIMType
CaptionCIM_ManagedSystemElement8 [string]
CreationClassNameCIM_Service8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
key
Name
CIM_ManagedSystemElement8 [string]
StartedCIM_Service11 [boolean]
StartModeCIM_Service8 [string]
StatusCIM_ManagedSystemElement8 [string]
SystemCreationClassNameCIM_Service8 [string]
SystemNameCIM_Service8 [string]

Detailed description of CIM_Service methods

Local methods (2) of CIM_Service class

StartService method
Returnuint32 {'out':True}
Description'The StartService method places the Service in the started state. It returns an integer value of 0 if the Service was successfully started, 1 if the request is not supported and any other number to indicate an error. In a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.'
StartService method is in 9 classes of ROOT\CIMV2\ms_409 and in 11 namespaces
StopService method
Returnuint32 {'out':True}
Description'The StopService method places the service in the stopped state. It returns an integer value of 0 if the service was successfully stopped, 1 if the request is not supported and any other number to indicate an error.'
StopService method is in 9 classes of ROOT\CIMV2\ms_409 and in 11 namespaces

Detailed description of CIM_Service properties

Local properties (5) of CIM_Service class

CreationClassName property
CIMTYPE'string'
Description'CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.'
DisplayName'Class Name'
CreationClassName property is in 175 classes of ROOT\CIMV2\ms_409 and in 20 namespaces
Started property
CIMTYPE'boolean'
Description'Started is a boolean indicating whether the service has been started (TRUE), or stopped (FALSE).'
DisplayName'Started'
Started property is in 9 classes of ROOT\CIMV2\ms_409 and in 11 namespaces
StartMode property
CIMTYPE'string'
Description'StartMode is a string value indicating whether the Service is automatically started by a System, Operating System, etc. or only started upon request.'
DisplayName'Start Mode'
Values['Automatic', 'Manual']
StartMode property is in 9 classes of ROOT\CIMV2\ms_409 and in 15 namespaces
SystemCreationClassName property
CIMTYPE'string'
Description'The scoping System's CreationClassName. '
DisplayName'System Class Name'
SystemCreationClassName property is in 119 classes of ROOT\CIMV2\ms_409 and in 20 namespaces
SystemName property
CIMTYPE'string'
Description'The name of the system that hosts this service'
DisplayName'System Name'
SystemName property is in 119 classes of ROOT\CIMV2\ms_409 and in 22 namespaces

Derived properties (5) of CIM_Service class

Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
Caption property is in 273 classes of ROOT\CIMV2\ms_409 and in 37 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
Description property is in 329 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
InstallDate property is in 223 classes of ROOT\CIMV2\ms_409 and in 23 namespaces
Name property
CIMTYPE'string'
Description'The Name property uniquely identifies the service and provides an indication of the functionality that is managed. This functionality is described in more detail in the object's Description property. '
keyTrue
Name property is in 306 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 225 classes of ROOT\CIMV2\ms_409 and in 42 namespaces

CIM_Service Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description'A CIM_Service is a Logical Element that contains the information necessary to represent and manage the functionality provided by a Device and/or SoftwareFeature. A Service is a general-purpose object to configure and manage the implementation of functionality. It is not the functionality itself.'
DisplayName'Services (CIM)'
LOCALE1033

CIM_Service System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:CIM_Service'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT10___SYSTEM3
__RELPATH'CIM_Service'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'CIM_LogicalElement'___SYSTEM8
__CLASS'CIM_Service'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to CIM_Service

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