編輯

共用方式為


Msvm_HostedDependency class

Associates a virtual machine instance with the computer system object that represents the physical, hosting system.

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_HostedDependency : CIM_HostedDependency
{
  CIM_ManagedElement REF Antecedent;
  CIM_ManagedElement REF Dependent;
};

Members

The Msvm_HostedDependency class has these types of members:

Properties

The Msvm_HostedDependency 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_HostedDependency.

Dependent

Data type: CIM_ManagedElement

Access type: Read-only

A reference to the virtual machine. This property is inherited from CIM_HostedDependency.

Remarks

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

Requirements

Requirement Value
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
DLL
Vmms.exe

See also

CIM_HostedDependency

CIM_HostedDependency

Virtual System Management Classes