CIM_HostedService class

The CIM_HostedService class represents an association between a service and the system on which the functionality resides. A system may host many services, which defer to the hosting system. The model does not represent services hosted across multiple systems.

[!Important]
The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Abstract, UUID("{83B2A7AA-DB36-11d2-85FC-0000F8102E5F}"), AMENDMENT]
class CIM_HostedService : CIM_Dependency
{
  CIM_Service REF Dependent;
  CIM_System  REF Antecedent;
};

Members

The CIM_HostedService class has these types of members:

Properties

The CIM_HostedService class has these properties.

Antecedent

Data type: CIM_System

Access type: Read-only

Qualifiers: Max (1), Min (1), Override ("Antecedent")

A CIM_System that describes the hosting system.

Dependent

Data type: CIM_Service

Access type: Read-only

Qualifiers: Override ("Dependent"), Weak

A CIM_Service that describes the service hosted on the system.

Remarks

CIM_HostedService is derived from CIM_Dependency.

WMI does not implement this class.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

CIM_Dependency