共用方式為


Msvm_HostedSwitchService class

An association that connects a virtual switch service to transparent bridging service.

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_HostedSwitchService : CIM_HostedService
{
  Msvm_VirtualSwitch REF Antecedent;
  CIM_Service        REF Dependent;
};

Members

The Msvm_HostedSwitchService class has these types of members:

Properties

The Msvm_HostedSwitchService class has these properties.

Antecedent

Data type: Msvm_VirtualSwitch

Access type: Read-only

Qualifiers: Override ("GroupComponent")

A reference to the hosting system.

Dependent

Data type: CIM_Service

Access type: Read-only

Qualifiers: Override ("PartComponent")

A reference to the service hosted on the system.

Remarks

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

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

Networking Classes