Compartir a través de


VpnConnectionTrigger class

The VpnConnectionTrigger class represents the auto-trigger properties of a VPN connection.

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

Syntax

[ClassVersion("1.0"), dynamic, provider("VpnClientPSProvider"), AMENDMENT]
class VpnConnectionTrigger
{
  string                               ConnectionName;
  string                               ApplicationID[];
  VpnConnectionTriggerDnsConfiguration dnsConfig[];
  string                               DnsSuffixSearchList[];
  string                               TrustedNetwork[];
};

Members

The VpnConnectionTrigger class has these types of members:

Properties

The VpnConnectionTrigger class has these properties.

ApplicationID

Data type: string array

Access type: Read/write

The identifiers of applications that auto-trigger connections.

ConnectionName

Data type: string

Access type: Read/write

The name of the current VPN connection profile.

dnsConfig

Data type: VpnConnectionTriggerDnsConfiguration array

Access type: Read/write

Qualifiers: EmbeddedInstance ("VpnConnectionTriggerDnsConfiguration")

The trigger DNS configurations.

DnsSuffixSearchList

Data type: string array

Access type: Read/write

The DNS suffix search list for the auto-triggered VPN connection.

TrustedNetwork

Data type: string array

Access type: Read/write

The trusted network DNS suffixes for the auto-triggered VPN connection.

Requirements

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