Condividi tramite


Msvm_ActiveConnection class

Connects a switch port to the LAN endpoint to which the port is connected. The existence of this object means that the switch port and the LAN endpoint are actively connected and the Ethernet port associated with the LAN endpoint can communicate with the network through the switch port.

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_ActiveConnection : CIM_ActiveConnection
{
  uint16              TrafficType;
  string              OtherTrafficDescription;
  boolean             IsUnidirectional;
  Msvm_SwitchPort REF Antecedent;
  CIM_LANEndpoint REF Dependent;
};

Members

The Msvm_ActiveConnection class has these types of members:

Properties

The Msvm_ActiveConnection class has these properties.

Antecedent

Data type: Msvm_SwitchPort

Access type: Read-only

Qualifiers: Override ("Antecedent")

A service access point (SAP) that is configured to communicate or is actively communicating with the dependent SAP. In a unidirectional connection, this SAP is the one that is transmitting.

Dependent

Data type: CIM_LANEndpoint

Access type: Read-only

Qualifiers: Override ("Dependent")

The service access points that are hosted on a given system.

IsUnidirectional

Data type: boolean

Access type: Read-only

True if the connection is unidirectional; false if the connection is bidirectional. When the connection is unidirectional, the Antecedent property specifies the access point that is transmitting data. In a bidirectional connection, Antecedent can specify either access point assigned to the connection.

This property is inherited from CIM_ActiveConnection.

OtherTrafficDescription

Data type: string

Access type: Read-only

Qualifiers: Deprecated ("No value"), MaxLen (64), ModelCorrespondence ("CIM_ActiveConnection.TrafficType")

Note

This property is deprecated. Instead, we recommend that you specify this information in the addressing, protocol, and basic functionality of the endpoints.

A description of the traffic type that is specified when the TrafficType property is set to "1" (Other).

This property is inherited from CIM_ActiveConnection.

TrafficType

Data type: uint16

Access type: Read-only

Qualifiers: Deprecated ("No value"), ModelCorrespondence ("CIM_ActiveConnection.OtherTrafficDescription")

Note

This property is deprecated. Instead, we recommend that you specify this information in the addressing, protocol, and basic functionality of the endpoints.

The type of traffic that is transmitted over this connection.

This property is inherited from CIM_ActiveConnection.

Remarks

Access to the Msvm_ActiveConnection 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_ActiveConnection

CIM_ActiveConnection

Networking Classes