Partager via


RemoteAccess class

Remote Access Configuration

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

Syntax

[ClassVersion("1.0.0"), dynamic, provider("RAMgmtPSProvider"), AMENDMENT]
class RemoteAccess : RemoteAccessCommon
{
  string                             InternetInterface;
  string                             InternalInterface;
  uint8                              SslCertificate[];
  string                             DAStatus;
  string                             VpnStatus;
  string                             VpnS2SStatus;
  string                             LoadBalancing;
  string                             SstpProxyStatus;
  string                             RoutingStatus;
  boolean                            UseHttp;
  DirectAccessConfiguration          DAConfiguration;
  VirtualPrivateNetworkConfiguration VpnConfiguration;
};

Members

The RemoteAccess class has these types of members:

Properties

The RemoteAccess class has these properties.

DAConfiguration

Data type: DirectAccessConfiguration

Access type: Read-only

Qualifiers: EmbeddedInstance ("DirectAccessConfiguration")

DirectAccessConfiguration embedded instance

DAStatus

Data type: string

Access type: Read-only

Whether direct access is installed

This property is inherited from RemoteAccessCommon.

The possible values are.

Installed ("Installed")

Uninstalled ("Uninstalled")

InternalInterface

Data type: string

Access type: Read/write

Intranet facing interface

This property is inherited from RemoteAccessCore.

InternetInterface

Data type: string

Access type: Read/write

Internet facing interface

This property is inherited from RemoteAccessCore.

LoadBalancing

Data type: string

Access type: Read-only

Whether load balancing is enabled

This property is inherited from RemoteAccessCommon.

The possible values are.

("Installed")

("Uninstalled")

NotConfigured ("NotConfigured")

Configured ("Configured")

RoutingStatus

Data type: string

Access type: Read-only

Whether routing is installed

This property is inherited from RemoteAccessCommon.

The possible values are.

Installed ("Installed")

Uninstalled ("Uninstalled")

Windows Server 2012 R2 and Windows Server 2012: This property is not supported before Windows Server 2016.

SslCertificate

Data type: uint8 array

Access type: Read/write

Array of IP-HTTPS/SSL certificates

This property is inherited from RemoteAccessCore.

SstpProxyStatus

Data type: string

Access type: Read-only

Whether an SSTP Proxy is installed

This property is inherited from RemoteAccessCommon.

The possible values are.

Installed ("Installed")

Uninstalled ("Uninstalled")

Windows Server 2012 R2 and Windows Server 2012: This property is not supported before Windows Server 2016.

UseHttp

Data type: boolean

Access type: Read/write

True to use HTTP; otherwise, false

This property is inherited from RemoteAccessCommon.

Windows Server 2012 R2 and Windows Server 2012: This property is not supported before Windows Server 2016.

VpnConfiguration

Data type: VirtualPrivateNetworkConfiguration

Access type: Read-only

Qualifiers: EmbeddedInstance ("VirtualPrivateNetworkConfiguration")

VirtualPrivateNetworkConfiguration embedded instance

VpnS2SStatus

Data type: string

Access type: Read-only

Whether S2S VPN is installed

This property is inherited from RemoteAccessCommon.

The possible values are.

Installed ("Installed")

Uninstalled ("Uninstalled")

VpnStatus

Data type: string

Access type: Read-only

Whether VPN is installed

This property is inherited from RemoteAccessCommon.

The possible values are.

Installed ("Installed")

Uninstalled ("Uninstalled")

Requirements

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