FtpClientConnection.DeleteRemoteDirectory Method
Deletes a remote directory.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Sub DeleteRemoteDirectory ( _
remoteDirectoryPath As String _
)
'Usage
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
)
Parameters
- remoteDirectoryPath
Type: System.String
The path of the remote directory to delete.
Examples
The following code example shows the syntax to use when calling the DeleteRemoteDirectory method.
ftpClientConnection.DeleteRemoteDirectory(@"/myDir/mySubDir/");
ftpClientConnection. DeleteRemoteDirectory("/myDir/mySubDir/")