Skip to content

RAS\_DeleteConnection

VB Scripting Library > RAS (Remote Access Services) functions

Delete an existing RAS connection

RAS_DeleteConnection(sConnectionName) As Boolean

sConnectionName (String)

The friendly name for the connection you want to delete

VBScript

If bStatus Then bStatus = Ras_DeleteConnection("ACME VPN")

Scripting Guidelines

RAS_IsRasInstalled RAS_GetConnectionPath