共用方式為


CIM_HostedService class

Represents an association between a service and the system that hosts the service. A System can host many services, however this class does not represent services hosted across multiple systems.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[Association, Abstract, Version("2.10.0"), UMLPackagePath("CIM::Core::Service"), AMENDMENT]
class CIM_HostedService : CIM_HostedDependency
{
  CIM_System  REF Antecedent;
  CIM_Service REF Dependent;
};

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: Override ("Antecedent"), Min (1), Max (1)

The hosting System.

Dependent

Data type: CIM_Service

Access type: Read-only

Qualifiers: Override ("Dependent"), Weak

The Service hosted on the System.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_HostedDependency

Failover Clustering Hyper-V WMI Provider