RAS\_SetVPNSecurityProperties
VB Scripting Library > RAS (Remote Access Services) functions
Description
Section titled “Description”Setup the security properties for an existing RAS connection
Syntax
Section titled “Syntax”RAS_SetVPNSecurityProperties(sConnectionName, bUseCurrentCredentials, bDataEncryptionRequired) As Boolean
Parameters
Section titled “Parameters”sConnectionName (String)
A friendly name for the connection
bUseCurrentCredentials (Boolean)
Automatically use windows logon and password (and domain if any)
bDataEncrytionRequired (Boolean)
Require data encryption (and disconnect if none)
Example
Section titled “Example”VBScript
If bStatus Then bStatus = RAS_SetVPNSecurityProperties("ACME", True, True)Related functions
Section titled “Related functions”RAS_SetTCPIPProperties RAS_SetUIProperties