PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Closes the line that was previously opened by NetOpenRemoteAccess.
Example
AccessReport is int = NetOpenRemoteAccess("My connection")
IF AccessReport = 0 THEN
        // Process
        ...
        NetCloseRemoteAccess()
ELSE
        Error("Error during the connection", NetMsgError(AccessReport))
END
Syntax
<Result> = NetCloseRemoteAccess([<Access Name>])
<Result>: Integer
  • 0 if the closing was performed,
  • an error code otherwise. This error code can be used by NetMsgError to find out the error details and the corresponding message.
<Access Name>: Optional character string (with quotes)
Name of the "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 (with NetOpenRemoteAccess or not).
If this parameter is not specified, the last connection opened by NetOpenRemoteAccess with <Automatic Closing> set to True is closed.
Components
WINDEVReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment