共用方式為


Msvm_HostedService class

Associates a service with its hosting computer system.

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

Syntax

[Association, Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_HostedService : CIM_HostedService
{
  CIM_System  REF Antecedent;
  CIM_Service REF Dependent;
};

Members

The Msvm_HostedService class has these types of members:

Properties

The Msvm_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 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_HostedService

Failover Clustering Hyper-V WMI Provider