Метод FtpClientConnection.DeleteRemoteDirectory
Deletes a remote directory.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Public Sub DeleteRemoteDirectory ( _
remoteDirectoryPath As String _
)
'Применение
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
)
Параметры
- remoteDirectoryPath
Тип: System.String
The path of the remote directory to delete.
Примеры
The following code example shows the syntax to use when calling the DeleteRemoteDirectory method.
ftpClientConnection.DeleteRemoteDirectory(@"/myDir/mySubDir/");
ftpClientConnection. DeleteRemoteDirectory("/myDir/mySubDir/")