Partilhar via


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 _
)
public void DeleteRemoteDirectory (
    string remoteDirectoryPath
)
public:
void DeleteRemoteDirectory (
    String^ remoteDirectoryPath
)
public void DeleteRemoteDirectory (
    String remoteDirectoryPath
)
public function DeleteRemoteDirectory (
    remoteDirectoryPath : String
)

Parameters

  • remoteDirectoryPath
    The path of the remote directory to delete.

Example

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

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

FtpClientConnection Class
FtpClientConnection Members
Microsoft.SqlServer.Dts.Runtime Namespace