Network - Disconnect
Declaration
<AMNETWORK ACTIVITY="disconnect_phone_book" ENTRY="text" />
Description: Disconnects a previously established Virtual Private Network (VPN) or Dial-Up Network (DUN) connection. This activity can also be used to disconnect all VPN or DUN connections.
Practical Usage
Used to disconnect a specific VPN/DUN connection or all VPN/DUN connections.
Connection Parameters
Property |
Type |
Required |
Default |
Markup |
Description |
---|---|---|---|---|---|
Disconnect all connections |
|
|
|
|
If enabled, specifies that all open VPN or DUN connections will be disconnected. This is a visual mode parameter used only during design-time, therefore, contains no markup. |
Disconnect a specific connection |
Text |
No |
(Empty) |
ENTRY="connectionName" |
If enabled, denotes that a specific VPN or DUN connection will be disconnected. Enter the name of the connection in the provided text box. |
Description tab - A custom description can be provided on the Description tab to convey additional information or share special notes about a task step.
Error Causes tab - Specify how this step should behave upon the occurrence of an error. (Refer to Task Builder > Error Causes Tab for details.)
On Error tab - Specify what AWE should do if this step encounters an error as defined on the Error Causes tab. (Refer to Task Builder > On Error Tab for details.)
Example
The sample AML code below can be copied and pasted directly into the Steps panel of the Task Builder.
Description
Disconnect "myConnection" connection.<AMNETWORK ACTIVITY="disconnect_phone_book" ENTRY="myConnection" />