Close 메서드
Closes the FTP connection.
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)
구문
‘선언
Public Sub Close
‘사용 방법
Dim instance As FtpClientConnection
instance.Close()
public void Close()
public:
void Close()
member Close : unit -> unit
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();
' Close the connection to the FTP Server, if it is connected.
If Not ftpClientConnection Is Nothing Then
ftpClientConnection.Close()
End If