Condividi tramite


Metodo 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

Esempi

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

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