Partager via


Win32_ActiveRoute class

The Win32_ActiveRoute association WMI class relates the current IP4 route to the persisted IP route table.

This class is only applicable to IP4 and does not return IPX or IP6 data. For more information, see IPv6 and IPv4 Support in WMI.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Dynamic, provider("RouteProvider"), UUID("{7BA1437A-C51C-421B-A359-2906AF2BDD9F}"), AMENDMENT]
class Win32_ActiveRoute : CIM_LogicalIdentity
{
  Win32_IP4PersistedRouteTable REF SameElement;
  Win32_IP4RouteTable          REF SystemElement;
};

Members

The Win32_ActiveRoute class has these types of members:

Properties

The Win32_ActiveRoute class has these properties.

SameElement

Data type: Win32_IP4PersistedRouteTable

Access type: Read-only

Qualifiers: Override ("SameElement"), MappingStrings ("")

Reference to the instance representing the persistent IP route in this relationship. This property is derived from CIM_LogicalIdentity.

SystemElement

Data type: Win32_IP4RouteTable

Access type: Read-only

Qualifiers: Override ("SystemElement"), MappingStrings ("")

Reference to the instance representing the active IP route being used. This property is derived from CIM_LogicalIdentity.

Remarks

The Win32_ActiveRoute class is derived from CIM_LogicalIdentity.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
Wmipiprt.mof
DLL
Wmipiprt.dll

See also

CIM_LogicalIdentity

Operating System Classes