RoboEndSessionMethod to terminate a Robo-FTP session

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Using Robo-FTP > Using COM/OLE to Control Robo-FTP > COM Methods >

RoboEndSessionMethod to terminate a Robo-FTP session

 

Overview

Method to terminate a named session between Robo-FTP and a user-written application.

 

C++ Definition

long RoboEndSession( )

 

VB Definition

RoboEndSession() As Long

 

C# Definition

Int RoboEndSession( )

 

VB.NET Definition

RoboEndSession() As Integer

 

Return Value

The numeric result code indicating the success or failure in terminating a session with Robo-FTP.

 

Returns ROBO_ERROR_SUCCESS if a session is successfully terminated.

Returns ROBO_ERROR_VAR_NOT_FOUND if the variable is not defined.

 

See COM/OLE Return Codes for a complete list of possible return values.

 

Parameters

None.

 

Remarks

This returns after Robo-FTP terminates.