Compartilhar via


Método DeleteRemoteDirectory

Deletes a remote directory.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public Sub DeleteRemoteDirectory ( _
    remoteDirectoryPath As String _
)
'Uso
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
)

Parâmetros

Exemplos

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

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