Metodo FtpClientConnection.DeleteRemoteDirectory

Deletes a remote directory.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public Sub DeleteRemoteDirectory ( _
    remoteDirectoryPath As String _
)
'Utilizzo
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
)

Parametri

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

Esempi

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

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

Vedere anche

Riferimento

FtpClientConnection Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime