次の方法で共有


RemoteAccessConnection class

Remote Access Common Connection Info Record

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

Syntax

[ClassVersion("2.0.0"), dynamic, provider("RAMgmtPSProvider"), AMENDMENT]
class RemoteAccessConnection
{
  string   ClientIPv4Address;
  string   ClientIPv6Address;
  string   HostName;
  string   ClientExternalAddress;
  string   TunnelType;
  string   TransitionTechnology;
  datetime ConnectionStartTime;
  uint32   ConnectionDuration;
  uint64   TotalBytesIn;
  uint64   TotalBytesOut;
  string   ConnectionType;
  string   HealthStatus;
  string   AuthMethod;
};

Members

The RemoteAccessConnection class has these types of members:

Properties

The RemoteAccessConnection class has these properties.

AuthMethod

Data type: string

Access type: Read-only

negotiated Encryption Type

The possible values are.

Unknown ("Unknown")

MSChapv2 ("MSChapv2")

Eap MSChapv2 ("Eap MSChapv2")

Eap Tls ("Eap Tls")

Eap Peap ("Eap Peap")

Eap Unknown ("Eap Unknown")

Machine Certificate ("Machine Certificate")

Pap ("Pap")

Chap ("Chap")

Psk MSChapv2 ("Psk MSChapv2")

Psk Eap MSChapv2 ("Psk Eap MSChapv2")

Psk Eap Tls ("Psk Eap Tls")

Psk Eap Peap ("Psk Eap Peap")

Psk Pap ("Psk Pap")

Psk Chap ("Psk Chap")

Machine Kerberos ("Machine Kerberos")

User Kerberos ("User Kerberos")

User Ntlm ("User Ntlm")

Machine Certificate & User Ntlm ("Machine Certificate & User Ntlm")

Machine Kerberos & User Ntlm ("Machine Kerberos & User Ntlm")

Machine Certificate & User Kerberos ("Machine Certificate & User Kerberos")

Machine Certificate, User Ntlm, & User Kerberos ("Machine Certificate, User Ntlm, & User Kerberos")

Machine Kerberos, User Ntlm, & User Kerberos ("Machine Kerberos, User Ntlm, & User Kerberos")

ClientExternalAddress

Data type: string

Access type: Read-only

Remote Machine's IP Address

ClientIPv4Address

Data type: string

Access type: Read-only

Client inner IPv4 Address

ClientIPv6Address

Data type: string

Access type: Read-only

Client inner IPv6 Address

ConnectionDuration

Data type: uint32

Access type: Read-only

Connection duration in seconds

ConnectionStartTime

Data type: datetime

Access type: Read-only

Connection start time

ConnectionType

Data type: string

Access type: Read-only

Connection Type

The possible values are.

Unknown ("Unknown")

Vpn ("Vpn")

DirectAccess ("DirectAccess")

HealthStatus

Data type: string

Access type: Read-only

This property is not supported starting with Windows Server 2016.

Windows Server 2012 R2 and Windows Server 2012: Indicates the health status.

The possible values are.

("Healthy")

("Limited Access")

("Probation")

HostName

Data type: string

Access type: Read-only

Remote client Hostname

TotalBytesIn

Data type: uint64

Access type: Read-only

Total incoming bytes for this connection

TotalBytesOut

Data type: uint64

Access type: Read-only

Total outgoing bytes for this connection

TransitionTechnology

Data type: string

Access type: Read-only

Transition technology used for direct access connection

The possible values are.

None ("None")

Other ("Other")

Native IPv6 ("Native IPv6")

6to4 ("6to4")

Isatap ("Isatap")

Teredo ("Teredo")

IPHttps ("IPHttps")

TunnelType

Data type: string

Access type: Read-only

Tunnel type

The possible values are.

Unknown ("Unknown")

Pptp ("Pptp")

L2tp ("L2tp")

Sstp ("Sstp")

Ikev2 ("Ikev2")

Esp ("Esp")

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.mof
DLL
RAMgmtPSProvider.dll