RAS\_DeleteConnection
VB Scripting Library > RAS (Remote Access Services) functions
Description
Section titled “Description”Delete an existing RAS connection
Syntax
Section titled “Syntax”RAS_DeleteConnection(sConnectionName) As Boolean
Parameters
Section titled “Parameters”sConnectionName (String)
The friendly name for the connection you want to delete
Example
Section titled “Example”VBScript
If bStatus Then bStatus = Ras_DeleteConnection("ACME VPN")Relate functions
Section titled “Relate functions”RAS_IsRasInstalled RAS_GetConnectionPath