FtpClientConnection.Close Method

Closes the FTP connection.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

public void Close ()
public void Close ()
public function Close ()

The following code example checks to see if the FtpClientConnection is connection. If so, the connection is closed using Close.

// Close the connection to the FTP Server, if it is connected.
if (ftpClientConnection != null)
    ftpClientConnection.Close();

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

ADD
Show: