AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Net
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
Warning
From version 2024, this feature is no longer available.
Closes the line 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 with NetMsgError to get the error details and the corresponding message.
<Access name>: Optional character string
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 (by NetOpenRemoteAccess or not).
If this parameter is not specified, the last connection opened by NetOpenRemoteAccess with <Automatic closing> set to True is closed.
Business / UI classification: Business Logic
Component: wd290com.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 20/12/2023

Señalar un error o enviar una sugerencia | Ayuda local