'Declaration Public Sub Dispose()
'Usage Dim instance As SFTP instance.Dispose()
public void Dispose()
public procedure Dispose();
public function Dispose();
public: void Dispose();
public: void Dispose();
'Declaration Public Sub Dispose()
'Usage Dim instance As SFTP instance.Dispose()
public void Dispose()
public procedure Dispose();
public function Dispose();
public: void Dispose();
public: void Dispose();
//Disposes the object by canceling any async transfer //and destroying the FTPRequest object // Dispose is called by .net when writing something like using (SFTP sftp = new SFTP()) { } // dispose is called here for the ftp object //Alternate way SFTP sftp = new SFTP(); sftp.Dispose();
'Disposes the object by canceling any async transfer 'and destroying the FTPRequest object ' Dispose is called by .net when writing something like Using ftp As FTP = New FTP() End Using ' dispose is called here for the ftp object 'Alternate way Dim sftp As SFTP = New SFTP() sftp.Dispose()
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