Share via


MSFTSM_HostedService class

Associates a CIM_Service with the MSFTSM_System on which the service is implemented. This is a one-to-many association. A system can host many services, and services are weak with respect to their hosting system. A service is hosted on the system where the logical devices or software features that implement the service are located.

The MSFTSM_HostedService class represents a service that is hosted on a single system. The CIM_ApplicationSystem is used to represent a service that is hosted across multiple systems.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Dynamic, Version("1.0.0"), Provider("MSiSCSITargetProv")]
class MSFTSM_HostedService : CIM_HostedService
{
  CIM_System  REF Antecedent;
  CIM_Service REF Dependent;
};

Members

The MSFTSM_HostedService class has these types of members:

Properties

The MSFTSM_HostedService class has these properties.

Antecedent

Data type: CIM_System

Access type: Read-only

Qualifiers: Min (1), Max (1)

The hosting System.

This property is inherited from CIM_HostedService.

Dependent

Data type: CIM_Service

Access type: Read-only

Qualifiers: Weak

The Service hosted on the System.

This property is inherited from CIM_HostedService.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\CIMv2\Storage\iScsiTarget
MOF
SmIscsiTarget.mof
DLL
SMiSCSITargetProv.dll

See also

CIM_HostedService

iSCSI Target Server Reference