Export (0) Print
Expand All

Msvm_HostedService class

Hyper-V

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

class Msvm_HostedService : CIM_HostedService
{
  CIM_ManagedElement 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_ManagedElement
Access type: Read-only

A reference to the hosting computer system. This property is inherited from CIM_HostedService.

Dependent
Data type: CIM_Service
Access type: Read-only

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

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Namespace

\\Root\Virtualization\V2

MOF

WindowsVirtualization.V2.mof

See also

CIM_HostedService
Virtual System Management Classes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft