'Declaration Public Sub CloseConnections()
'Usage Dim instance As FtpConnection instance.CloseConnections()
public void CloseConnections()
'Declaration Public Sub CloseConnections()
'Usage Dim instance As FtpConnection instance.CloseConnections()
public void CloseConnections()
The FtpConnection will create connections with the FTP server transparently and as necessary until it is disposed of or garbage-collected. To prevent connections with an FTP server from being kept alive, the CloseConnections method can be called. The CloseConnections method will close any connections that are not being used, however the FtpConnection instance will remain usable.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2