PS_VpnServerAddress class

The PS_VpnServerAddress class provides a method to create a new VPN Server address object.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[ClassVersion("1.0"), dynamic, provider("VpnClientPSProvider"), AMENDMENT]
class PS_VpnServerAddress
{
  string FriendlyName;
  string ServerAddress;
};

Members

The PS_VpnServerAddress class has these types of members:

Methods

The PS_VpnServerAddress class has these methods.

Method Description
New Creates a VPN server object.

Properties

The PS_VpnServerAddress class has these properties.

FriendlyName

Data type: string

Access type: Read/write

Qualifiers: key

The friendly name of the remote VPN server.

ServerAddress

Data type: string

Access type: Read/write

The address of the remote VPN server that the client connects to. This address is a URL, a friendly name, an IPv4 address, or an IPv6 address.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\Client
MOF
VPNClientPSProvider.mof
DLL
VPNClientPSProvider.dll