FtpClientConnection.Close 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
FTP 연결을 닫습니다.
public:
void Close();
public void Close ();
member this.Close : unit -> unit
Public Sub Close ()
예제
다음 코드 예제에서는 연결이 있는지 FtpClientConnection 확인합니다. 이 경우 .을 사용하여 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