大网数据广告活动
Hyper-V与虚拟化

Msvm_DynamicForwardingEntry class

· 52CE 我爱测

Represents an entry in the forwarding (filtering) database that is associated with the transparent bridging service.

Represents an entry in the forwarding (filtering) database that is associated with the transparent bridging service. The entry is weak to the service, as specified by Msvm_TransparentBridgingDynamicForwarding.

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

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_DynamicForwardingEntry : CIM_DynamicForwardingEntry
{
  string   InstanceID;
  string   Caption;
  string   Description;
  string   ElementName;
  datetime InstallDate;
  string   Name;
  uint16   OperationalStatus[];
  string   StatusDescriptions[];
  string   Status;
  uint16   HealthState;
  uint16   CommunicationStatus;
  uint16   DetailedStatus;
  uint16   OperatingStatus;
  uint16   PrimaryStatus;
  string   SystemCreationClassName;
  string   SystemName;
  string   ServiceCreationClassName;
  string   ServiceName;
  string   CreationClassName;
  string   MACAddress;
  uint16   DynamicStatus;
  uint16   VlanId;
};

Members

The Msvm_DynamicForwardingEntry class has these types of members:

Properties

The Msvm_DynamicForwardingEntry class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

A short description of the object. This property is inherited from CIM_ManagedElement.

CommunicationStatus

Data type: uint16

Access type: Read-only

Indicates the ability of the instrumentation to communicate with the underlying managed element. A Null value indicates that this property is not implemented. This property is inherited from CIM_ManagedSystemElement.

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified. This property is inherited from CIM_DynamicForwardingEntry.

Description

Data type: string

Access type: Read-only

A description of the object. This property is inherited from CIM_ManagedElement.

DetailedStatus

Data type: uint16

Access type: Read-only

Complements the PrimaryStatus property with additional status detail. A Null value indicates that this property is not implemented. This property is inherited from CIM_ManagedSystemElement.

DynamicStatus

Data type: uint16

Access type: Read-only

The status of the entry. This property is inherited from CIM_DynamicForwardingEntry.

Other (1)

Invalid (2)

Learned (3)

Self (4)

Mgmt (5)

ElementName

Data type: string

Access type: Read-only

A display name for the element. This property is inherited from CIM_ManagedElement.

HealthState

Data type: uint16

Access type: Read-only

The current health of the element. This property is inherited from CIM_ManagedSystemElement, and it is always set to 5 ("OK").

InstallDate

Data type: datetime

Access type: Read-only

Automatically populated when the virtual machine is created. This property is inherited from CIM_ManagedSystemElement.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key

Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement.

MACAddress

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (12)

Unicast MAC address for which the transparent bridging service has forwarding and filtering information. The MAC address is formatted as twelve hexadecimal digits (for example, "010203040506"), with each pair representing one of the six octets of the MAC address in "canonical" bit order according to RFC 2469. This property is inherited from CIM_DynamicForwardingEntry.

Name

Data type: string

Access type: Read-only

The label by which the object is known. This property is inherited from CIM_ManagedSystemElement.

OperatingStatus

Data type: uint16

Access type: Read-only

Provides current status information for the operational condition of the element and can be used for providing more detail with respect to the value of the EnabledState property. A Null value indicates that this property is not implemented. This property is inherited from CIM_ManagedSystemElement.

OperationalStatus

Data type: uint16 array

Access type: Read-only

This property is inherited from CIM_ManagedSystemElement, but it is not supported.

PrimaryStatus

Data type: uint16

Access type: Read-only

Provides high level status information. This property should be used in conjunction with the DetailedStatus property to provide high level and detailed health status information for the element and its subcomponents. A Null value indicates that this property is not implemented. This property is inherited from CIM_ManagedSystemElement.

ServiceCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The scoping service's CreationClassName. This property is inherited from CIM_DynamicForwardingEntry.

ServiceName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The scoping service's name. This property is inherited from CIM_DynamicForwardingEntry.

Status

Data type: string

Access type: Read-only

This property is inherited from CIM_ManagedSystemElement, but it is not used.

StatusDescriptions

Data type: string array

Access type: Read-only

This property is inherited from CIM_ManagedSystemElement, but it is not supported.

SystemCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The scoping system's CreationClassName. This property is inherited from CIM_DynamicForwardingEntry.

SystemName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The scoping system's name. This property is inherited from CIM_DynamicForwardingEntry.

VlanId

Data type: uint16

Access type: Read/write

The virtual LAN identifier associated with this entry.

Remarks

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

Examples

See Querying networking objects.

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_DynamicForwardingEntry

CIM_DynamicForwardingEntry

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。