RAS\_GetConnectionPath
VB Scripting Library > RAS (Remote Access Services) functions
Description
Section titled “Description”Returns the path to an existing RAS connection
Syntax
Section titled “Syntax”RAS_GetConnectionPath(sConnectionName) As Boolean
Parameters
Section titled “Parameters”sConnectionName (String)
The friendly name for the path you want to get
Return value
Section titled “Return value”Result will be stored in gsValue.
Example
Section titled “Example”VBScript
If bStatus Then bStatus = RAS_GetConnectionPath("ACME VPN")Related functions
Section titled “Related functions”