Remove Method
      
 

Description

Removes specific relay.

Return Type

None  

Syntax

object.Remove ID

The Remove Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type VPNRelays.
IDRequired. A Variant value.

Remarks

Remove method will remove specific Relay object from the collection. ID can be numeric value (as Relay's Index), reference to Relay, or string value (as Relay's LeftIP/RightIP). After Relay is removed, no more peers can connect to that port.