다음을 통해 공유


FtpClientConnection.DeleteRemoteDirectory 메서드

Deletes a remote directory.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public Sub DeleteRemoteDirectory ( _
    remoteDirectoryPath As String _
)
‘사용 방법
Dim instance As FtpClientConnection 
Dim remoteDirectoryPath As String

instance.DeleteRemoteDirectory(remoteDirectoryPath)
public void DeleteRemoteDirectory(
    string remoteDirectoryPath
)
public:
void DeleteRemoteDirectory(
    String^ remoteDirectoryPath
)
member DeleteRemoteDirectory : 
        remoteDirectoryPath:string -> unit
public function DeleteRemoteDirectory(
    remoteDirectoryPath : String
)

매개 변수

  • remoteDirectoryPath
    유형: System.String
    The path of the remote directory to delete.

The following code example shows the syntax to use when calling the DeleteRemoteDirectory method.

ftpClientConnection.DeleteRemoteDirectory(@"/myDir/mySubDir/");
ftpClientConnection. DeleteRemoteDirectory("/myDir/mySubDir/")

참고 항목

참조

FtpClientConnection 클래스

Microsoft.SqlServer.Dts.Runtime 네임스페이스