Msvm_HostedService class

Associates a service with its hosting computer system. Instances of Msvm_VirtualizationManagementService can be discovered through their association with a host.

The following syntax is simplified Managed Object Format (MOF) code, and it 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)

A reference to the hosting computer system.

This property is inherited from CIM_HostedService.

Dependent

Data type: CIM_Service

Access type: Read-only

Qualifiers: Weak

A reference to the service being hosted.

This property is inherited from CIM_HostedService.

Remarks

Access to the Msvm_HostedService class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Examples

See Querying Networking Objects.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
End of client support
None supported
End of server support
Windows Server 2012 R2
Namespace
Root\Virtualization
MOF
WindowsVirtualization.mof

See also

CIM_HostedService

CIM_HostedService

Virtual System Management Classes