FtpClientConnection.DeleteRemoteDirectory Method (String)
Applies To: SQL Server 2016 Preview
Deletes a remote directory.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
public void DeleteRemoteDirectory(
string remoteDirectoryPath
)
public:
void DeleteRemoteDirectory(
String^ remoteDirectoryPath
)
member DeleteRemoteDirectory :
remoteDirectoryPath:string -> unit
Public Sub DeleteRemoteDirectory (
remoteDirectoryPath As String
)
Parameters
remoteDirectoryPath
Type: System.StringThe path of the remote directory to delete.
Examples
Legacy Code Example
The following code example shows the syntax to use when calling the DeleteRemoteDirectory method.
ftpClientConnection.DeleteRemoteDirectory(@"/myDir/mySubDir/");
ftpClientConnection. DeleteRemoteDirectory("/myDir/mySubDir/")
See Also
FtpClientConnection Class
Microsoft.SqlServer.Dts.Runtime Namespace
Return to top