Freigeben über


CIM_ActiveConnection class

Defines a connection that is currently communicating, or is configured to communicate, between two service access points. It is used when the connection is not handled as a managed element itself (that is, with Status, statistics, and so on), but its existence is known. A service access point (SAP) that is connected typically operates at the same networking or application layer.

Important  The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Syntax

class CIM_ActiveConnection : CIM_SAPSAPDependency
{
  CIM_ServiceAccessPoint REF Antecedent;
  CIM_ServiceAccessPoint REF Dependent;
  uint16                     TrafficType;
  string                     OtherTrafficDescription;
  boolean                    IsUnidirectional;
};

Members

The CIM_ActiveConnection class has these types of members:

  • Properties

Properties

The CIM_ActiveConnection class has these properties.

Antecedent

Data type: CIM_ServiceAccessPoint

Access type: Read-only

A SAP that is configured to communicate or is actively communicating with the dependent SAP. In a unidirectional connection, this is the transmitting SAP.

Dependent

Data type: CIM_ServiceAccessPoint

Access type: Read-only

A second SAP that is configured to communicate or is actively communicating with the antecedent SAP. In a unidirectional connection, this is the receiving SAP.

IsUnidirectional

Data type: boolean

Access type: Read-only

TRUE indicates that this connection is unidirectional; FALSE indicates that this connection is bidirectional. When the connection is unidirectional, the "speaker" should be defined as the antecedent reference. In a bidirectional connection, the selection of which access point is the antecedent or dependent is immaterial.

OtherTrafficDescription

Data type: string

Access type: Read-only

Qualifiers: MaxLen ( 64)

Note: The use of this element is deprecated because it is incorrectly placed on the association. Unicast, broadcast, or other traffic types are not a function of the connection between the referenced endpoints, but rather are a function of the addressing, protocol, and basic functionality of the endpoints. Deprecated description: A string that describes the type of traffic that is being carried over this instance when its Type property is set, for example, to 1 (Other).

TrafficType

Data type: uint16

Access type: Read-only

Note: The use of this element is deprecated because it is incorrectly placed on the association. Unicast, broadcast, or other traffic types are not a function of the connection between the referenced endpoints, but rather are a function of the addressing, protocol, and basic functionality of the endpoints. Deprecated description: The type of traffic that is carried over this connection.

Unknown (0)

Other (1)

Unicast (2)

Broadcast (3)

Multicast (4)

Anycast (5)

Requirements

Namespace

Root\CIMv2\Storage\iSCSITarget

MOF

SmIscsiTarget.mof

See also

CIM_SAPSAPDependency