PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Closes the line previously opened by NetOpenRemoteAccess.
Example
RapportAccès is int = NetOpenRemoteAccess("Ma connexion")
IF RapportAccès = 0 THEN
// Traitement
...
NetCloseRemoteAccess()
ELSE
Error("Erreur lors de la connexion", NetMsgError(RapportAccès))
END
Syntax
<Result> = NetCloseRemoteAccess([<Access name>])
<Result>: Integer
  • 0 if the closing was performed,
  • an error code otherwise. This error code can be used with the NetMsgError function to find out the exact cause of the error and the corresponding message.
<Access name>: Optional character string
Name of "Remote network access" connection defined in Windows. The list of remote accesses installed on a computer is returned by NetListRemoteAccess.
If this parameter is specified, the remote access is closed, regardless of its opening mode (by NetOpenRemoteAccess or not).
If this parameter is not specified, only the last connection opened by the NetOpenRemoteAccess function with the <Auto close> parameter at True is closed.
Component: wd270com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment